-
-
Save derekmerck/7b55c34c91954e84aa155e487ffe2e8d to your computer and use it in GitHub Desktop.
Docker-CE cloud-init for Debian-based
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#cloud-config | |
package_upgrade: true | |
packages: ['docker-ce', 'docker-compose'] | |
apt: | |
preserve_sources_list: true | |
sources: | |
docker.list: | |
source: "deb [arch=amd64] https://download.docker.com/linux/debian $RELEASE edge" | |
keyid: 0EBFCD88 | |
runcmd: | |
- [ systemctl, start, --no-block, docker ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Todo for Packet
Update docker-compose:
Bind elastic IP?
ip addr add 147.75.255.255 dev lo
see https://help.packet.net/article/54-elastic-ips
Bind volume mounted data?
See https://help.packet.net/article/63-elastic-block-storage