Skip to content

Instantly share code, notes, and snippets.

@tun
Last active March 30, 2019 09:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tun/e131f42c38b0cb74d931f68d469ddc3e to your computer and use it in GitHub Desktop.
Save tun/e131f42c38b0cb74d931f68d469ddc3e to your computer and use it in GitHub Desktop.
cloud-config: docker+docker-compose+dry & other tools
Cloud-init v. 18.3-24-gf6249277-0ubuntu2~scaleway1 running 'init-local' at Thu, 28 Mar 2019 09:17:17 +0000. Up 19.75 seconds.
Cloud-init v. 18.3-24-gf6249277-0ubuntu2~scaleway1 running 'init' at Thu, 28 Mar 2019 09:17:20 +0000. Up 22.81 seconds.
ci-info: +++++++++++++++++++++++++++++++++++++++++Net device info+++++++++++++++++++++++++++++++++++++++++
ci-info: +----------+-------+-----------------------------+-----------------+--------+-------------------+
ci-info: | Device | Up | Address | Mask | Scope | Hw-Address |
ci-info: +----------+-------+-----------------------------+-----------------+--------+-------------------+
ci-info: | enp0s2 | True | 10.20.250.131 | 255.255.255.254 | global | de:2c:0c:32:c0:02 |
ci-info: | enp0s2 | True | fe80::dc2c:cff:fe32:c002/64 | . | link | de:2c:0c:32:c0:02 |
ci-info: | ip6_vti0 | False | . | . | . | . |
ci-info: | ip6tnl0 | False | . | . | . | . |
ci-info: | lo | True | 127.0.0.1 | 255.0.0.0 | host | . |
ci-info: | lo | True | ::1/128 | . | host | . |
ci-info: | sit0 | False | . | . | . | . |
ci-info: +----------+-------+-----------------------------+-----------------+--------+-------------------+
ci-info: ++++++++++++++++++++++++++++++++Route IPv4 info++++++++++++++++++++++++++++++++
ci-info: +-------+---------------+---------------+-----------------+-----------+-------+
ci-info: | Route | Destination | Gateway | Genmask | Interface | Flags |
ci-info: +-------+---------------+---------------+-----------------+-----------+-------+
ci-info: | 0 | 0.0.0.0 | 10.20.250.130 | 0.0.0.0 | enp0s2 | UG |
ci-info: | 1 | 10.20.250.130 | 0.0.0.0 | 255.255.255.254 | enp0s2 | U |
ci-info: +-------+---------------+---------------+-----------------+-----------+-------+
ci-info: +++++++++++++++++++Route IPv6 info+++++++++++++++++++
ci-info: +-------+-------------+---------+-----------+-------+
ci-info: | Route | Destination | Gateway | Interface | Flags |
ci-info: +-------+-------------+---------+-----------+-------+
ci-info: | 0 | fe80::/64 | :: | enp0s2 | U |
ci-info: | 3 | ff00::/8 | :: | enp0s2 | U |
ci-info: +-------+-------------+---------+-----------+-------+
Generating public/private rsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_rsa_key.
Your public key has been saved in /etc/ssh/ssh_host_rsa_key.pub.
The key fingerprint is:
SHA256:Oef8bW5QNNcSaL8v6tc9iy0YaE/o0Lt/K2nxln18PaI root@yalitza
The key's randomart image is:
+---[RSA 2048]----+
| ....|
| o + o|
| . o + |
| . o |
| S + . . |
| . X +. . |
| + * *.o+o|
| o B OB+O|
| .+EOO*+*|
+----[SHA256]-----+
Generating public/private dsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_dsa_key.
Your public key has been saved in /etc/ssh/ssh_host_dsa_key.pub.
The key fingerprint is:
SHA256:TFm5Kap2TYaxo8+vedHFaAu2OV55k5COpbvNktaVF+Q root@yalitza
The key's randomart image is:
+---[DSA 1024]----+
| .. |
| o. . |
| o * o |
| .o+ O o E |
| *S% = o . |
| = X * * . |
| o * B o o |
| +...Oo. |
| . o==ooo |
+----[SHA256]-----+
Generating public/private ecdsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_ecdsa_key.
Your public key has been saved in /etc/ssh/ssh_host_ecdsa_key.pub.
The key fingerprint is:
SHA256:WdmTGWqo1sc5NYKkRLl3nwjVsSaZvuoPHiSlIFzVgSc root@yalitza
The key's randomart image is:
+---[ECDSA 256]---+
| .o++o. .o. |
| . . .Eooo.*.= |
| o . .++.X X |
| . ..=o*.* o |
| =.So*o . |
| . o ..oo |
| o . |
| . + |
| .+.. |
+----[SHA256]-----+
Generating public/private ed25519 key pair.
Your identification has been saved in /etc/ssh/ssh_host_ed25519_key.
Your public key has been saved in /etc/ssh/ssh_host_ed25519_key.pub.
The key fingerprint is:
SHA256:SzCrqCcppFXAqp+oL//586I9D1Drzj4/btkiXxiZEBQ root@yalitza
The key's randomart image is:
+--[ED25519 256]--+
| . .E. |
| o . |
| . . = |
|. .. * o |
|. .. o S |
|.... + . + |
|o=... o oo. |
|B.+ =*.=.. |
|=*o.++*&*o |
+----[SHA256]-----+
Cloud-init v. 18.3-24-gf6249277-0ubuntu2~scaleway1 running 'modules:config' at Thu, 28 Mar 2019 09:17:25 +0000. Up 27.93 seconds.
Get:1 http://security.debian.org stretch/updates InRelease [94.3 kB]
Hit:2 http://ppa.launchpad.net/scaleway/stable/ubuntu bionic InRelease
Ign:3 http://ftp.fr.debian.org/debian stretch InRelease
Get:4 http://ftp.fr.debian.org/debian stretch-updates InRelease [91.0 kB]
Hit:5 http://ftp.fr.debian.org/debian stretch Release
Get:6 http://security.debian.org stretch/updates/main Sources [197 kB]
Get:7 http://security.debian.org stretch/updates/main amd64 Packages [481 kB]
Get:8 http://security.debian.org stretch/updates/main Translation-en [213 kB]
Get:9 http://security.debian.org stretch/updates/contrib amd64 Packages [1,760 B]
Get:10 http://security.debian.org stretch/updates/contrib Translation-en [1,759 B]
Get:11 http://security.debian.org stretch/updates/non-free Translation-en [691 B]
Get:12 http://ppa.launchpad.net/scaleway/stable/ubuntu bionic/main Translation-en [248 B]
Get:13 http://ftp.fr.debian.org/debian stretch-updates/main Sources.diff/Index [8,116 B]
Get:14 http://ftp.fr.debian.org/debian stretch-updates/main amd64 Packages.diff/Index [8,116 B]
Get:15 http://ftp.fr.debian.org/debian stretch-updates/main Sources 2019-03-27-2010.32.pdiff [471 B]
Get:15 http://ftp.fr.debian.org/debian stretch-updates/main Sources 2019-03-27-2010.32.pdiff [471 B]
Get:16 http://ftp.fr.debian.org/debian stretch-updates/main amd64 Packages 2019-03-27-2010.32.pdiff [531 B]
Get:16 http://ftp.fr.debian.org/debian stretch-updates/main amd64 Packages 2019-03-27-2010.32.pdiff [531 B]
Get:17 http://ftp.fr.debian.org/debian stretch-updates/main Translation-en [11.1 kB]
Get:19 http://ftp.fr.debian.org/debian stretch/main Translation-en [5,384 kB]
Get:20 http://ftp.fr.debian.org/debian stretch/contrib Translation-en [45.9 kB]
Get:21 http://ftp.fr.debian.org/debian stretch/non-free Translation-en [80.3 kB]
Fetched 6,619 kB in 4s (1,514 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
ca-certificates is already the newest version (20161130+nmu1+deb9u1).
curl is already the newest version (7.52.1-5+deb9u9).
htop is already the newest version (2.0.2-1).
rsync is already the newest version (3.1.2-1+deb9u1).
software-properties-common is already the newest version (0.96.20.2-1).
software-properties-common set to manually installed.
tmux is already the newest version (2.3-4).
The following additional packages will be installed:
fonts-lato git-man javascript-common liberror-perl libjs-jquery liblua5.2-0
libpython3.5 libruby2.3 libtcl8.6 patch rake ruby ruby-did-you-mean
ruby-minitest ruby-net-telnet ruby-power-assert ruby-test-unit ruby2.3
rubygems-integration unzip zip
Suggested packages:
git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk
gitweb git-arch git-cvs git-mediawiki git-svn apache2 | lighttpd | httpd
tcl8.6 ed diffutils-doc ri ruby-dev bundler cscope vim-doc
The following NEW packages will be installed:
apt-transport-https fonts-lato git git-man gnupg2 javascript-common
liberror-perl libjs-jquery liblua5.2-0 libpython3.5 libruby2.3 libtcl8.6
multitail patch rake ruby ruby-did-you-mean ruby-minitest ruby-net-telnet
ruby-power-assert ruby-test-unit ruby2.3 rubygems-integration tig unzip
vim-nox zip
0 upgraded, 27 newly installed, 0 to remove and 0 not upgraded.
Need to get 17.0 MB of archives.
After this operation, 74.0 MB of additional disk space will be used.
Get:1 http://security.debian.org stretch/updates/main amd64 libruby2.3 amd64 2.3.3-1+deb9u4 [3,110 kB]
Get:2 http://ftp.fr.debian.org/debian stretch/main amd64 fonts-lato all 2.0-1 [2,684 kB]
Get:3 http://security.debian.org stretch/updates/main amd64 ruby2.3 amd64 2.3.3-1+deb9u4 [188 kB]
Get:4 http://ftp.fr.debian.org/debian stretch/main amd64 liberror-perl all 0.17024-1 [26.9 kB]
Get:5 http://ftp.fr.debian.org/debian stretch/main amd64 git-man all 1:2.11.0-3+deb9u4 [1,433 kB]
Get:6 http://ftp.fr.debian.org/debian stretch/main amd64 git amd64 1:2.11.0-3+deb9u4 [4,167 kB]
Get:7 http://ftp.fr.debian.org/debian stretch/main amd64 apt-transport-https amd64 1.4.9 [171 kB]
Get:8 http://ftp.fr.debian.org/debian stretch/main amd64 gnupg2 all 2.1.18-8~deb9u4 [299 kB]
Get:9 http://ftp.fr.debian.org/debian stretch/main amd64 javascript-common all 11 [6,120 B]
Get:10 http://ftp.fr.debian.org/debian stretch/main amd64 libjs-jquery all 3.1.1-2 [154 kB]
Get:11 http://ftp.fr.debian.org/debian stretch/main amd64 liblua5.2-0 amd64 5.2.4-1.1+b2 [110 kB]
Get:12 http://ftp.fr.debian.org/debian stretch/main amd64 libpython3.5 amd64 3.5.3-1+deb9u1 [1,372 kB]
Get:13 http://ftp.fr.debian.org/debian stretch/main amd64 libtcl8.6 amd64 8.6.6+dfsg-1+b1 [985 kB]
Get:14 http://ftp.fr.debian.org/debian stretch/main amd64 multitail amd64 6.4.2-1+b1 [128 kB]
Get:15 http://ftp.fr.debian.org/debian stretch/main amd64 patch amd64 2.7.5-1+deb9u1 [112 kB]
Get:16 http://ftp.fr.debian.org/debian stretch/main amd64 rubygems-integration all 1.11 [4,994 B]
Get:17 http://ftp.fr.debian.org/debian stretch/main amd64 ruby-did-you-mean all 1.0.0-2 [11.2 kB]
Get:18 http://ftp.fr.debian.org/debian stretch/main amd64 ruby-minitest all 5.9.0-1 [51.1 kB]
Get:19 http://ftp.fr.debian.org/debian stretch/main amd64 ruby-net-telnet all 0.1.1-2 [12.5 kB]
Get:20 http://ftp.fr.debian.org/debian stretch/main amd64 ruby-power-assert all 0.3.0-1 [7,902 B]
Get:21 http://ftp.fr.debian.org/debian stretch/main amd64 ruby-test-unit all 3.1.7-2 [69.6 kB]
Get:22 http://ftp.fr.debian.org/debian stretch/main amd64 ruby amd64 1:2.3.3 [10.8 kB]
Get:23 http://ftp.fr.debian.org/debian stretch/main amd64 rake all 10.5.0-2 [49.4 kB]
Get:24 http://ftp.fr.debian.org/debian stretch/main amd64 tig amd64 2.2-1+b2 [300 kB]
Get:25 http://ftp.fr.debian.org/debian stretch/main amd64 unzip amd64 6.0-21 [170 kB]
Get:26 http://ftp.fr.debian.org/debian stretch/main amd64 zip amd64 3.0-11+b1 [234 kB]
Get:27 http://ftp.fr.debian.org/debian stretch/main amd64 vim-nox amd64 2:8.0.0197-4+deb9u1 [1,144 kB]
Fetched 17.0 MB in 1s (8,592 kB/s)
Selecting previously unselected package fonts-lato.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 30106 files and directories currently installed.)
Preparing to unpack .../00-fonts-lato_2.0-1_all.deb ...
Unpacking fonts-lato (2.0-1) ...
Selecting previously unselected package liberror-perl.
Preparing to unpack .../01-liberror-perl_0.17024-1_all.deb ...
Unpacking liberror-perl (0.17024-1) ...
Selecting previously unselected package git-man.
Preparing to unpack .../02-git-man_1%3a2.11.0-3+deb9u4_all.deb ...
Unpacking git-man (1:2.11.0-3+deb9u4) ...
Selecting previously unselected package git.
Preparing to unpack .../03-git_1%3a2.11.0-3+deb9u4_amd64.deb ...
Unpacking git (1:2.11.0-3+deb9u4) ...
Selecting previously unselected package apt-transport-https.
Preparing to unpack .../04-apt-transport-https_1.4.9_amd64.deb ...
Unpacking apt-transport-https (1.4.9) ...
Selecting previously unselected package gnupg2.
Preparing to unpack .../05-gnupg2_2.1.18-8~deb9u4_all.deb ...
Unpacking gnupg2 (2.1.18-8~deb9u4) ...
Selecting previously unselected package javascript-common.
Preparing to unpack .../06-javascript-common_11_all.deb ...
Unpacking javascript-common (11) ...
Selecting previously unselected package libjs-jquery.
Preparing to unpack .../07-libjs-jquery_3.1.1-2_all.deb ...
Unpacking libjs-jquery (3.1.1-2) ...
Selecting previously unselected package liblua5.2-0:amd64.
Preparing to unpack .../08-liblua5.2-0_5.2.4-1.1+b2_amd64.deb ...
Unpacking liblua5.2-0:amd64 (5.2.4-1.1+b2) ...
Selecting previously unselected package libpython3.5:amd64.
Preparing to unpack .../09-libpython3.5_3.5.3-1+deb9u1_amd64.deb ...
Unpacking libpython3.5:amd64 (3.5.3-1+deb9u1) ...
Selecting previously unselected package libtcl8.6:amd64.
Preparing to unpack .../10-libtcl8.6_8.6.6+dfsg-1+b1_amd64.deb ...
Unpacking libtcl8.6:amd64 (8.6.6+dfsg-1+b1) ...
Selecting previously unselected package multitail.
Preparing to unpack .../11-multitail_6.4.2-1+b1_amd64.deb ...
Unpacking multitail (6.4.2-1+b1) ...
Selecting previously unselected package patch.
Preparing to unpack .../12-patch_2.7.5-1+deb9u1_amd64.deb ...
Unpacking patch (2.7.5-1+deb9u1) ...
Selecting previously unselected package rubygems-integration.
Preparing to unpack .../13-rubygems-integration_1.11_all.deb ...
Unpacking rubygems-integration (1.11) ...
Selecting previously unselected package ruby-did-you-mean.
Preparing to unpack .../14-ruby-did-you-mean_1.0.0-2_all.deb ...
Unpacking ruby-did-you-mean (1.0.0-2) ...
Selecting previously unselected package ruby-minitest.
Preparing to unpack .../15-ruby-minitest_5.9.0-1_all.deb ...
Unpacking ruby-minitest (5.9.0-1) ...
Selecting previously unselected package ruby-net-telnet.
Preparing to unpack .../16-ruby-net-telnet_0.1.1-2_all.deb ...
Unpacking ruby-net-telnet (0.1.1-2) ...
Selecting previously unselected package ruby-power-assert.
Preparing to unpack .../17-ruby-power-assert_0.3.0-1_all.deb ...
Unpacking ruby-power-assert (0.3.0-1) ...
Selecting previously unselected package ruby-test-unit.
Preparing to unpack .../18-ruby-test-unit_3.1.7-2_all.deb ...
Unpacking ruby-test-unit (3.1.7-2) ...
Selecting previously unselected package libruby2.3:amd64.
Preparing to unpack .../19-libruby2.3_2.3.3-1+deb9u4_amd64.deb ...
Unpacking libruby2.3:amd64 (2.3.3-1+deb9u4) ...
Selecting previously unselected package ruby2.3.
Preparing to unpack .../20-ruby2.3_2.3.3-1+deb9u4_amd64.deb ...
Unpacking ruby2.3 (2.3.3-1+deb9u4) ...
Selecting previously unselected package ruby.
Preparing to unpack .../21-ruby_1%3a2.3.3_amd64.deb ...
Unpacking ruby (1:2.3.3) ...
Selecting previously unselected package rake.
Preparing to unpack .../22-rake_10.5.0-2_all.deb ...
Unpacking rake (10.5.0-2) ...
Selecting previously unselected package tig.
Preparing to unpack .../23-tig_2.2-1+b2_amd64.deb ...
Unpacking tig (2.2-1+b2) ...
Selecting previously unselected package unzip.
Preparing to unpack .../24-unzip_6.0-21_amd64.deb ...
Unpacking unzip (6.0-21) ...
Selecting previously unselected package zip.
Preparing to unpack .../25-zip_3.0-11+b1_amd64.deb ...
Unpacking zip (3.0-11+b1) ...
Selecting previously unselected package vim-nox.
Preparing to unpack .../26-vim-nox_2%3a8.0.0197-4+deb9u1_amd64.deb ...
Unpacking vim-nox (2:8.0.0197-4+deb9u1) ...
Setting up libjs-jquery (3.1.1-2) ...
Setting up git-man (1:2.11.0-3+deb9u4) ...
Setting up apt-transport-https (1.4.9) ...
Processing triggers for mime-support (3.60) ...
Setting up liberror-perl (0.17024-1) ...
Setting up multitail (6.4.2-1+b1) ...
Setting up libpython3.5:amd64 (3.5.3-1+deb9u1) ...
Setting up unzip (6.0-21) ...
Setting up zip (3.0-11+b1) ...
Setting up fonts-lato (2.0-1) ...
Setting up gnupg2 (2.1.18-8~deb9u4) ...
Setting up ruby-did-you-mean (1.0.0-2) ...
Setting up patch (2.7.5-1+deb9u1) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Setting up ruby-net-telnet (0.1.1-2) ...
Setting up rubygems-integration (1.11) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up liblua5.2-0:amd64 (5.2.4-1.1+b2) ...
Setting up libtcl8.6:amd64 (8.6.6+dfsg-1+b1) ...
Setting up javascript-common (11) ...
Setting up ruby-minitest (5.9.0-1) ...
Setting up git (1:2.11.0-3+deb9u4) ...
Setting up ruby-power-assert (0.3.0-1) ...
Setting up ruby-test-unit (3.1.7-2) ...
Setting up tig (2.2-1+b2) ...
Setting up ruby2.3 (2.3.3-1+deb9u4) ...
Setting up ruby (1:2.3.3) ...
Setting up rake (10.5.0-2) ...
Setting up libruby2.3:amd64 (2.3.3-1+deb9u4) ...
Setting up vim-nox (2:8.0.0197-4+deb9u1) ...
update-alternatives: using /usr/bin/vim.nox to provide /usr/bin/vim (vim) in auto mode
update-alternatives: using /usr/bin/vim.nox to provide /usr/bin/vimdiff (vimdiff) in auto mode
update-alternatives: using /usr/bin/vim.nox to provide /usr/bin/rvim (rvim) in auto mode
update-alternatives: using /usr/bin/vim.nox to provide /usr/bin/rview (rview) in auto mode
update-alternatives: using /usr/bin/vim.nox to provide /usr/bin/vi (vi) in auto mode
update-alternatives: using /usr/bin/vim.nox to provide /usr/bin/view (view) in auto mode
update-alternatives: using /usr/bin/vim.nox to provide /usr/bin/ex (ex) in auto mode
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Warning: apt-key output should not be parsed (stdout is not a terminal)
OK
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Hit:1 http://security.debian.org stretch/updates InRelease
Hit:2 http://ppa.launchpad.net/scaleway/stable/ubuntu bionic InRelease
Ign:3 http://ftp.fr.debian.org/debian stretch InRelease
Hit:4 http://ftp.fr.debian.org/debian stretch-updates InRelease
Hit:5 http://ftp.fr.debian.org/debian stretch Release
Get:6 https://download.docker.com/linux/debian stretch InRelease [44.8 kB]
Get:8 https://download.docker.com/linux/debian stretch/stable amd64 Packages [7,841 B]
Fetched 52.7 kB in 1s (52.4 kB/s)
Reading package lists...
Building dependency tree...
Reading state information...
All packages are up to date.
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
Recommended packages:
aufs-tools cgroupfs-mount | cgroup-lite pigz
The following NEW packages will be installed:
containerd.io docker-ce docker-ce-cli
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 50.5 MB of archives.
After this operation, 242 MB of additional disk space will be used.
Get:1 https://download.docker.com/linux/debian stretch/stable amd64 containerd.io amd64 1.2.5-1 [19.9 MB]
Get:2 https://download.docker.com/linux/debian stretch/stable amd64 docker-ce-cli amd64 5:18.09.4~3-0~debian-stretch [13.1 MB]
Get:3 https://download.docker.com/linux/debian stretch/stable amd64 docker-ce amd64 5:18.09.4~3-0~debian-stretch [17.4 MB]
dpkg-preconfigure: unable to re-open stdin: No such file or directory
Fetched 50.5 MB in 2s (23.4 MB/s)
Selecting previously unselected package containerd.io.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 32604 files and directories currently installed.)
Preparing to unpack .../containerd.io_1.2.5-1_amd64.deb ...
Unpacking containerd.io (1.2.5-1) ...
Selecting previously unselected package docker-ce-cli.
Preparing to unpack .../docker-ce-cli_5%3a18.09.4~3-0~debian-stretch_amd64.deb ...
Unpacking docker-ce-cli (5:18.09.4~3-0~debian-stretch) ...
Selecting previously unselected package docker-ce.
Preparing to unpack .../docker-ce_5%3a18.09.4~3-0~debian-stretch_amd64.deb ...
Unpacking docker-ce (5:18.09.4~3-0~debian-stretch) ...
Setting up containerd.io (1.2.5-1) ...
Created symlink /etc/systemd/system/multi-user.target.wants/containerd.service → /lib/systemd/system/containerd.service.
Processing triggers for systemd (232-25+deb9u9) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up docker-ce-cli (5:18.09.4~3-0~debian-stretch) ...
Setting up docker-ce (5:18.09.4~3-0~debian-stretch) ...
update-alternatives: using /usr/bin/dockerd-ce to provide /usr/bin/dockerd (dockerd) in auto mode
Created symlink /etc/systemd/system/multi-user.target.wants/docker.service → /lib/systemd/system/docker.service.
Created symlink /etc/systemd/system/sockets.target.wants/docker.socket → /lib/systemd/system/docker.socket.
Processing triggers for systemd (232-25+deb9u9) ...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 617 0 617 0 0 2974 0 --:--:-- --:--:-- --:--:-- 2980
0 11.2M 0 68137 0 0 87822 0 0:02:13 --:--:-- 0:02:13 87822
20 11.2M 20 2361k 0 0 1329k 0 0:00:08 0:00:01 0:00:07 2295k
55 11.2M 55 6323k 0 0 2302k 0 0:00:04 0:00:02 0:00:02 3174k
89 11.2M 89 10.0M 0 0 2751k 0 0:00:04 0:00:03 0:00:01 3446k
100 11.2M 100 11.2M 0 0 2844k 0 0:00:04 0:00:04 --:--:-- 3503k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 10 100 10 0 0 45 0 --:--:-- --:--:-- --:--:-- 45
dryup: downloading dry binary
######################################################################## 100.0%
0.3%
0.5%
0.9%
# 1.7%
# 2.2%
## 3.2%
### 4.4%
###### 9.5%
################## 25.9%
################################ 44.6%
########################################## 59.3%
##################################################### 74.4%
################################################################ 89.0%
######################################################################## 100.0%
dryup: Moving dry binary to its destination
dryup: dry binary was copied to /usr/local/bin, now you should 'sudo chmod 755 /usr/local/bin/dry'
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Cloud-init v. 18.3-24-gf6249277-0ubuntu2~scaleway1 running 'modules:final' at Thu, 28 Mar 2019 09:17:27 +0000. Up 29.64 seconds.
The system is finally up, after 82.70 seconds
Cloud-init v. 18.3-24-gf6249277-0ubuntu2~scaleway1 running 'init-local' at Thu, 28 Mar 2019 09:18:56 +0000. Up 16.51 seconds.
Cloud-init v. 18.3-24-gf6249277-0ubuntu2~scaleway1 running 'init' at Thu, 28 Mar 2019 09:19:00 +0000. Up 21.28 seconds.
ci-info: +++++++++++++++++++++++++++++++++++++++++Net device info+++++++++++++++++++++++++++++++++++++++++
ci-info: +----------+-------+-----------------------------+-----------------+--------+-------------------+
ci-info: | Device | Up | Address | Mask | Scope | Hw-Address |
ci-info: +----------+-------+-----------------------------+-----------------+--------+-------------------+
ci-info: | enp0s2 | True | 10.20.250.131 | 255.255.255.254 | global | de:2c:0c:32:c0:02 |
ci-info: | enp0s2 | True | fe80::dc2c:cff:fe32:c002/64 | . | link | de:2c:0c:32:c0:02 |
ci-info: | ip6_vti0 | False | . | . | . | . |
ci-info: | ip6tnl0 | False | . | . | . | . |
ci-info: | lo | True | 127.0.0.1 | 255.0.0.0 | host | . |
ci-info: | lo | True | ::1/128 | . | host | . |
ci-info: | sit0 | False | . | . | . | . |
ci-info: +----------+-------+-----------------------------+-----------------+--------+-------------------+
ci-info: ++++++++++++++++++++++++++++++++Route IPv4 info++++++++++++++++++++++++++++++++
ci-info: +-------+---------------+---------------+-----------------+-----------+-------+
ci-info: | Route | Destination | Gateway | Genmask | Interface | Flags |
ci-info: +-------+---------------+---------------+-----------------+-----------+-------+
ci-info: | 0 | 0.0.0.0 | 10.20.250.130 | 0.0.0.0 | enp0s2 | UG |
ci-info: | 1 | 10.20.250.130 | 0.0.0.0 | 255.255.255.254 | enp0s2 | U |
ci-info: +-------+---------------+---------------+-----------------+-----------+-------+
ci-info: +++++++++++++++++++Route IPv6 info+++++++++++++++++++
ci-info: +-------+-------------+---------+-----------+-------+
ci-info: | Route | Destination | Gateway | Interface | Flags |
ci-info: +-------+-------------+---------+-----------+-------+
ci-info: | 0 | fe80::/64 | :: | enp0s2 | U |
ci-info: | 4 | ff00::/8 | :: | enp0s2 | U |
ci-info: +-------+-------------+---------+-----------+-------+
Cloud-init v. 18.3-24-gf6249277-0ubuntu2~scaleway1 running 'modules:config' at Thu, 28 Mar 2019 09:19:04 +0000. Up 24.97 seconds.
Cloud-init v. 18.3-24-gf6249277-0ubuntu2~scaleway1 running 'modules:final' at Thu, 28 Mar 2019 09:19:07 +0000. Up 27.57 seconds.
The system is finally up, after 27.87 seconds
#cloud-config
# vim: ft=yaml
package_update: true
package_upgrade: true
package_reboot_if_required: true
packages:
- apt-transport-https
- ca-certificates
- curl
- git
- gnupg2
- htop
- rsync
- software-properties-common
- tig
- tmux
- vim-nox
- multitail
- htop
runcmd:
- [ sh, -c, 'echo "APT::Install-Recommends \"0\";" >> /etc/apt/apt.conf.d/01norecommend' ]
- [ sh, -c, 'echo "APT::Install-Suggests "0";" >> /etc/apt/apt.conf.d/01norecommend' ]
- [ sh, -c, 'curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add -' ]
- [ sh, -c, 'add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"' ]
- [ sh, -c, 'apt update' ]
- [ sh, -c, 'apt install -y docker-ce docker-ce-cli containerd.io' ]
- [ sh, -c, 'curl -L https://github.com/docker/compose/releases/download/$(curl -s https://api.github.com/repos/docker/compose/releases/latest | grep "tag_name" | cut -d \" -f4)/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose' ]
- [ sh, -c, 'chmod 755 /usr/local/bin/docker-compose' ]
- [ sh, -c, 'curl -sSf https://moncho.github.io/dry/dryup.sh | sudo sh' ]
- [ sh, -c, 'chmod 755 /usr/local/bin/dry' ]
- [ systemctl, start, docker ]
- [ sh, -c, 'apt autoremove --purge' ]
- [ sh, -c, 'apt clean' ]
system_info:
default_user:
name: tun
sudo: ALL=(ALL) NOPASSWD:ALL
groups: [docker, sudo]
disable_root: true
ssh_authorized_keys:
- ssh-rsa llave/pública/aquí/
locale: en_US.UTF-8
locale_configfile: /etc/default/locale
preserve_hostname: yes
fqdn: yalitza.tunlabs.mx
hostname: yalitza
timezone: America/Cancun
manual_cache_clean: False
apt_pipelining: False
apt:
preserve_sources_list: true
conf: |
APT {
Get {
Assume-Yes "true";
Fix-Broken "true";
};
};
power_state:
mode: reboot
message: Be right back!
final_message: "The system is finally up, after $UPTIME seconds"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment