examples: Update to use new getty and sshd images

Signed-off-by: Dave Tucker <dt@docker.com>
This commit is contained in:
Dave Tucker 2017-06-29 14:59:34 +01:00
parent 5fb025824f
commit 71bccd6967
21 changed files with 27 additions and 27 deletions

View File

@ -34,7 +34,7 @@ onboot:
services: services:
# Enable getty for easier debugging # Enable getty for easier debugging
- name: getty - name: getty
image: "linuxkit/getty:6cbeee0392b0670053ce2bf05a5a0d67ec2bce05" image: "linuxkit/getty:6d35e3fe138aaeaf099b5b4f31b3f12ba725cb49"
env: env:
- INSECURE=true - INSECURE=true
- name: rngd - name: rngd

View File

@ -18,7 +18,7 @@ services:
- name: rngd - name: rngd
image: "linuxkit/rngd:b50b22dd574c5377708977af769f053009fff6d5" image: "linuxkit/rngd:b50b22dd574c5377708977af769f053009fff6d5"
- name: sshd - name: sshd
image: "linuxkit/sshd:f095b62ddca658e99d5751872c933ef3d5d18cec" image: "linuxkit/sshd:7535658a08a01c61e2851e4bc1f6346e89412de8"
binds: binds:
- /var/config/ssh/authorized_keys:/root/.ssh/authorized_keys - /var/config/ssh/authorized_keys:/root/.ssh/authorized_keys
- name: nginx - name: nginx

View File

@ -15,7 +15,7 @@ services:
- name: dhcpcd - name: dhcpcd
image: "linuxkit/dhcpcd:6c1ca76dbf808d5c27d10cbf22a8d4399be5c8ae" image: "linuxkit/dhcpcd:6c1ca76dbf808d5c27d10cbf22a8d4399be5c8ae"
- name: sshd - name: sshd
image: "linuxkit/sshd:f095b62ddca658e99d5751872c933ef3d5d18cec" image: "linuxkit/sshd:7535658a08a01c61e2851e4bc1f6346e89412de8"
files: files:
- path: root/.ssh/authorized_keys - path: root/.ssh/authorized_keys
source: ~/.ssh/id_rsa.pub source: ~/.ssh/id_rsa.pub

View File

@ -20,7 +20,7 @@ onboot:
command: ["/mount.sh", "/var/lib/docker"] command: ["/mount.sh", "/var/lib/docker"]
services: services:
- name: getty - name: getty
image: "linuxkit/getty:6cbeee0392b0670053ce2bf05a5a0d67ec2bce05" image: "linuxkit/getty:6d35e3fe138aaeaf099b5b4f31b3f12ba725cb49"
env: env:
- INSECURE=true - INSECURE=true
- name: rngd - name: rngd

View File

@ -16,13 +16,13 @@ onboot:
image: "linuxkit/metadata:09781c8a8097e5aa3ae522c74856d80e1da3b915" image: "linuxkit/metadata:09781c8a8097e5aa3ae522c74856d80e1da3b915"
services: services:
- name: getty - name: getty
image: "linuxkit/getty:6cbeee0392b0670053ce2bf05a5a0d67ec2bce05" image: "linuxkit/getty:6d35e3fe138aaeaf099b5b4f31b3f12ba725cb49"
env: env:
- INSECURE=true - INSECURE=true
- name: rngd - name: rngd
image: "linuxkit/rngd:b50b22dd574c5377708977af769f053009fff6d5" image: "linuxkit/rngd:b50b22dd574c5377708977af769f053009fff6d5"
- name: sshd - name: sshd
image: "linuxkit/sshd:f095b62ddca658e99d5751872c933ef3d5d18cec" image: "linuxkit/sshd:7535658a08a01c61e2851e4bc1f6346e89412de8"
binds: binds:
- /var/config/ssh/authorized_keys:/root/.ssh/authorized_keys - /var/config/ssh/authorized_keys:/root/.ssh/authorized_keys
- name: nginx - name: nginx

View File

@ -14,7 +14,7 @@ onboot:
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"] command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
services: services:
- name: getty - name: getty
image: "linuxkit/getty:6cbeee0392b0670053ce2bf05a5a0d67ec2bce05" image: "linuxkit/getty:6d35e3fe138aaeaf099b5b4f31b3f12ba725cb49"
# to make insecure with passwordless root login, uncomment following lines # to make insecure with passwordless root login, uncomment following lines
#env: #env:
# - INSECURE=true # - INSECURE=true

View File

@ -11,7 +11,7 @@ onboot:
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"] command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
services: services:
- name: getty - name: getty
image: "linuxkit/getty:6cbeee0392b0670053ce2bf05a5a0d67ec2bce05" image: "linuxkit/getty:6d35e3fe138aaeaf099b5b4f31b3f12ba725cb49"
env: env:
- INSECURE=true - INSECURE=true
trust: trust:

View File

@ -7,7 +7,7 @@ init:
- linuxkit/containerd:1e3e8f207421de8deac8cedc26a138d6b1661a0d - linuxkit/containerd:1e3e8f207421de8deac8cedc26a138d6b1661a0d
services: services:
- name: getty - name: getty
image: "linuxkit/getty:6cbeee0392b0670053ce2bf05a5a0d67ec2bce05" image: "linuxkit/getty:6d35e3fe138aaeaf099b5b4f31b3f12ba725cb49"
env: env:
- INSECURE=true - INSECURE=true
- name: rngd - name: rngd

View File

@ -15,7 +15,7 @@ services:
- name: dhcpcd - name: dhcpcd
image: "linuxkit/dhcpcd:6c1ca76dbf808d5c27d10cbf22a8d4399be5c8ae" image: "linuxkit/dhcpcd:6c1ca76dbf808d5c27d10cbf22a8d4399be5c8ae"
- name: sshd - name: sshd
image: "linuxkit/sshd:f095b62ddca658e99d5751872c933ef3d5d18cec" image: "linuxkit/sshd:7535658a08a01c61e2851e4bc1f6346e89412de8"
files: files:
- path: root/.ssh/authorized_keys - path: root/.ssh/authorized_keys
source: ~/.ssh/id_rsa.pub source: ~/.ssh/id_rsa.pub

View File

@ -13,7 +13,7 @@ onboot:
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"] command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
services: services:
- name: getty - name: getty
image: "linuxkit/getty:6cbeee0392b0670053ce2bf05a5a0d67ec2bce05" image: "linuxkit/getty:6d35e3fe138aaeaf099b5b4f31b3f12ba725cb49"
env: env:
- INSECURE=true - INSECURE=true
- name: redis - name: redis

View File

@ -11,7 +11,7 @@ onboot:
image: "linuxkit/sysctl:3aa6bc663c2849ef239be7d941d3eaf3e6fcc018" image: "linuxkit/sysctl:3aa6bc663c2849ef239be7d941d3eaf3e6fcc018"
services: services:
- name: getty - name: getty
image: "linuxkit/getty:6cbeee0392b0670053ce2bf05a5a0d67ec2bce05" image: "linuxkit/getty:6d35e3fe138aaeaf099b5b4f31b3f12ba725cb49"
env: env:
- INSECURE=true - INSECURE=true
- name: rngd - name: rngd
@ -19,7 +19,7 @@ services:
- name: dhcpcd - name: dhcpcd
image: "linuxkit/dhcpcd:6c1ca76dbf808d5c27d10cbf22a8d4399be5c8ae" image: "linuxkit/dhcpcd:6c1ca76dbf808d5c27d10cbf22a8d4399be5c8ae"
- name: sshd - name: sshd
image: "linuxkit/sshd:f095b62ddca658e99d5751872c933ef3d5d18cec" image: "linuxkit/sshd:7535658a08a01c61e2851e4bc1f6346e89412de8"
files: files:
- path: root/.ssh/authorized_keys - path: root/.ssh/authorized_keys
source: ~/.ssh/id_rsa.pub source: ~/.ssh/id_rsa.pub

View File

@ -24,7 +24,7 @@ onboot:
command: ["/swap.sh", "--path", "/var/external/swap", "--size", "1G", "--encrypt"] command: ["/swap.sh", "--path", "/var/external/swap", "--size", "1G", "--encrypt"]
services: services:
- name: getty - name: getty
image: "linuxkit/getty:6cbeee0392b0670053ce2bf05a5a0d67ec2bce05" image: "linuxkit/getty:6d35e3fe138aaeaf099b5b4f31b3f12ba725cb49"
env: env:
- INSECURE=true - INSECURE=true
- name: rngd - name: rngd

View File

@ -11,7 +11,7 @@ onboot:
image: "linuxkit/sysctl:3aa6bc663c2849ef239be7d941d3eaf3e6fcc018" image: "linuxkit/sysctl:3aa6bc663c2849ef239be7d941d3eaf3e6fcc018"
services: services:
- name: getty - name: getty
image: "linuxkit/getty:6cbeee0392b0670053ce2bf05a5a0d67ec2bce05" image: "linuxkit/getty:6d35e3fe138aaeaf099b5b4f31b3f12ba725cb49"
env: env:
- INSECURE=true - INSECURE=true
- name: rngd - name: rngd

View File

@ -19,7 +19,7 @@ onboot:
command: ["sh", "-c", "mkdir /host_var/vpnkit && mount -v -t 9p -o trans=virtio,dfltuid=1001,dfltgid=50,version=9p2000 port /host_var/vpnkit"] command: ["sh", "-c", "mkdir /host_var/vpnkit && mount -v -t 9p -o trans=virtio,dfltuid=1001,dfltgid=50,version=9p2000 port /host_var/vpnkit"]
services: services:
- name: sshd - name: sshd
image: "linuxkit/sshd:f095b62ddca658e99d5751872c933ef3d5d18cec" image: "linuxkit/sshd:7535658a08a01c61e2851e4bc1f6346e89412de8"
- name: vpnkit-forwarder - name: vpnkit-forwarder
image: "linuxkit/vpnkit-forwarder:e2776b82ddfe82ed7f90e55d7a2b424e62e9a279" image: "linuxkit/vpnkit-forwarder:e2776b82ddfe82ed7f90e55d7a2b424e62e9a279"
binds: binds:

View File

@ -16,13 +16,13 @@ onboot:
image: "linuxkit/metadata:09781c8a8097e5aa3ae522c74856d80e1da3b915" image: "linuxkit/metadata:09781c8a8097e5aa3ae522c74856d80e1da3b915"
services: services:
- name: getty - name: getty
image: "linuxkit/getty:6cbeee0392b0670053ce2bf05a5a0d67ec2bce05" image: "linuxkit/getty:6d35e3fe138aaeaf099b5b4f31b3f12ba725cb49"
env: env:
- INSECURE=true - INSECURE=true
- name: rngd - name: rngd
image: "linuxkit/rngd:b50b22dd574c5377708977af769f053009fff6d5" image: "linuxkit/rngd:b50b22dd574c5377708977af769f053009fff6d5"
- name: sshd - name: sshd
image: "linuxkit/sshd:f095b62ddca658e99d5751872c933ef3d5d18cec" image: "linuxkit/sshd:7535658a08a01c61e2851e4bc1f6346e89412de8"
binds: binds:
- /var/config/ssh/authorized_keys:/root/.ssh/authorized_keys - /var/config/ssh/authorized_keys:/root/.ssh/authorized_keys
- name: nginx - name: nginx

View File

@ -16,7 +16,7 @@ onboot:
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"] command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
services: services:
- name: getty - name: getty
image: "linuxkit/getty:6cbeee0392b0670053ce2bf05a5a0d67ec2bce05" image: "linuxkit/getty:6d35e3fe138aaeaf099b5b4f31b3f12ba725cb49"
env: env:
- INSECURE=true - INSECURE=true
- name: rngd - name: rngd

View File

@ -26,7 +26,7 @@ onboot:
- /var:/var:rshared,rbind - /var:/var:rshared,rbind
services: services:
- name: getty - name: getty
image: "linuxkit/getty:6cbeee0392b0670053ce2bf05a5a0d67ec2bce05" image: "linuxkit/getty:6d35e3fe138aaeaf099b5b4f31b3f12ba725cb49"
env: env:
- INSECURE=true - INSECURE=true
- name: rngd - name: rngd
@ -36,7 +36,7 @@ services:
- name: ntpd - name: ntpd
image: "linuxkit/openntpd:a4c642d52e985922fcd97db52e471db123cc6841" image: "linuxkit/openntpd:a4c642d52e985922fcd97db52e471db123cc6841"
- name: sshd - name: sshd
image: "linuxkit/sshd:f095b62ddca658e99d5751872c933ef3d5d18cec" image: "linuxkit/sshd:7535658a08a01c61e2851e4bc1f6346e89412de8"
- name: docker - name: docker
image: "linuxkit/docker-ce:530912564c0b648aeeab2459c7b82ce40d48fd6a" image: "linuxkit/docker-ce:530912564c0b648aeeab2459c7b82ce40d48fd6a"
capabilities: capabilities:

View File

@ -26,7 +26,7 @@ onboot:
- /var:/var:rshared,rbind - /var:/var:rshared,rbind
services: services:
- name: getty - name: getty
image: "linuxkit/getty:6cbeee0392b0670053ce2bf05a5a0d67ec2bce05" image: "linuxkit/getty:6d35e3fe138aaeaf099b5b4f31b3f12ba725cb49"
env: env:
- INSECURE=true - INSECURE=true
- name: rngd - name: rngd
@ -36,7 +36,7 @@ services:
- name: ntpd - name: ntpd
image: "linuxkit/openntpd:a4c642d52e985922fcd97db52e471db123cc6841" image: "linuxkit/openntpd:a4c642d52e985922fcd97db52e471db123cc6841"
- name: sshd - name: sshd
image: "linuxkit/sshd:f095b62ddca658e99d5751872c933ef3d5d18cec" image: "linuxkit/sshd:7535658a08a01c61e2851e4bc1f6346e89412de8"
- name: docker - name: docker
image: "linuxkit/docker-ce:530912564c0b648aeeab2459c7b82ce40d48fd6a" image: "linuxkit/docker-ce:530912564c0b648aeeab2459c7b82ce40d48fd6a"
capabilities: capabilities:

View File

@ -28,9 +28,9 @@ onboot:
- /lib:/lib # for ifconfig - /lib:/lib # for ifconfig
services: services:
- name: sshd - name: sshd
image: "linuxkit/sshd:f095b62ddca658e99d5751872c933ef3d5d18cec" image: "linuxkit/sshd:7535658a08a01c61e2851e4bc1f6346e89412de8"
- name: getty - name: getty
image: "linuxkit/getty:6cbeee0392b0670053ce2bf05a5a0d67ec2bce05" image: "linuxkit/getty:6d35e3fe138aaeaf099b5b4f31b3f12ba725cb49"
env: env:
- INSECURE=true - INSECURE=true
files: files:

View File

@ -16,7 +16,7 @@ onboot:
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"] command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
services: services:
- name: getty - name: getty
image: "linuxkit/getty:6cbeee0392b0670053ce2bf05a5a0d67ec2bce05" image: "linuxkit/getty:6d35e3fe138aaeaf099b5b4f31b3f12ba725cb49"
env: env:
- INSECURE=true - INSECURE=true
- name: rngd - name: rngd

View File

@ -12,7 +12,7 @@ onboot:
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"] command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
services: services:
- name: getty - name: getty
image: "linuxkit/getty:6cbeee0392b0670053ce2bf05a5a0d67ec2bce05" image: "linuxkit/getty:6d35e3fe138aaeaf099b5b4f31b3f12ba725cb49"
files: files:
- path: etc/getty.shadow - path: etc/getty.shadow
# sample sets password for root to "abcdefgh" (without quotes) # sample sets password for root to "abcdefgh" (without quotes)