mirror of
				https://github.com/linuxkit/linuxkit.git
				synced 2025-10-31 15:08:22 +00:00 
			
		
		
		
	getty&ssh: bind /var/lib/containerd
				
					
				
			Needed for containerd v1.2.0 otherwise:
    $ ctr run -t docker.io/library/hello-world@sha256:f3b3b28a45160805bb16542c9531888519430e9e6d6ffc09d72261b0d26ff74f test
    [ 1311.667587] overlayfs: failed to resolve '/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/5/fs': -2
    ctr: failed to mount /tmp/containerd-mount111658703: no such file or directory
Signed-off-by: Ian Campbell <ijc@docker.com>
			
			
This commit is contained in:
		| @@ -18,7 +18,7 @@ services: | |||||||
|   - name: rngd |   - name: rngd | ||||||
|     image: linuxkit/rngd:v0.6 |     image: linuxkit/rngd:v0.6 | ||||||
|   - name: sshd |   - name: sshd | ||||||
|     image: linuxkit/sshd:v0.6 |     image: linuxkit/sshd:c4bc89cf0d66733c923ab9cb46198b599eb99320 | ||||||
|     binds: |     binds: | ||||||
|      - /run/config/ssh/authorized_keys:/root/.ssh/authorized_keys |      - /run/config/ssh/authorized_keys:/root/.ssh/authorized_keys | ||||||
|   - name: nginx |   - name: nginx | ||||||
|   | |||||||
| @@ -15,7 +15,7 @@ services: | |||||||
|   - name: dhcpcd |   - name: dhcpcd | ||||||
|     image: linuxkit/dhcpcd:v0.6 |     image: linuxkit/dhcpcd:v0.6 | ||||||
|   - name: sshd |   - name: sshd | ||||||
|     image: linuxkit/sshd:v0.6 |     image: linuxkit/sshd:c4bc89cf0d66733c923ab9cb46198b599eb99320 | ||||||
| files: | files: | ||||||
|   - path: root/.ssh/authorized_keys |   - path: root/.ssh/authorized_keys | ||||||
|     source: ~/.ssh/id_rsa.pub |     source: ~/.ssh/id_rsa.pub | ||||||
|   | |||||||
| @@ -22,7 +22,7 @@ onboot: | |||||||
|  |  | ||||||
| services: | services: | ||||||
|   - name: getty |   - name: getty | ||||||
|     image: linuxkit/getty:v0.6 |     image: linuxkit/getty:2eb742cd7a68e14cf50577c02f30147bc406e478 | ||||||
|     env: |     env: | ||||||
|       - INSECURE=true |       - INSECURE=true | ||||||
|   - name: rngd |   - name: rngd | ||||||
|   | |||||||
| @@ -52,7 +52,7 @@ services: | |||||||
|     image: linuxkit/acpid:v0.6 |     image: linuxkit/acpid:v0.6 | ||||||
|   # Enable getty for easier debugging |   # Enable getty for easier debugging | ||||||
|   - name: getty |   - name: getty | ||||||
|     image: linuxkit/getty:v0.6 |     image: linuxkit/getty:2eb742cd7a68e14cf50577c02f30147bc406e478 | ||||||
|     env: |     env: | ||||||
|         - INSECURE=true |         - INSECURE=true | ||||||
|   # Run ntpd to keep time synchronised in the VM |   # Run ntpd to keep time synchronised in the VM | ||||||
|   | |||||||
| @@ -18,7 +18,7 @@ onboot: | |||||||
|     command: ["/usr/bin/mountie", "/var/lib/docker"] |     command: ["/usr/bin/mountie", "/var/lib/docker"] | ||||||
| services: | services: | ||||||
|   - name: getty |   - name: getty | ||||||
|     image: linuxkit/getty:v0.6 |     image: linuxkit/getty:2eb742cd7a68e14cf50577c02f30147bc406e478 | ||||||
|     env: |     env: | ||||||
|      - INSECURE=true |      - INSECURE=true | ||||||
|   - name: rngd |   - name: rngd | ||||||
|   | |||||||
| @@ -16,13 +16,13 @@ onboot: | |||||||
|     image: linuxkit/metadata:v0.6 |     image: linuxkit/metadata:v0.6 | ||||||
| services: | services: | ||||||
|   - name: getty |   - name: getty | ||||||
|     image: linuxkit/getty:v0.6 |     image: linuxkit/getty:2eb742cd7a68e14cf50577c02f30147bc406e478 | ||||||
|     env: |     env: | ||||||
|      - INSECURE=true |      - INSECURE=true | ||||||
|   - name: rngd |   - name: rngd | ||||||
|     image: linuxkit/rngd:v0.6 |     image: linuxkit/rngd:v0.6 | ||||||
|   - name: sshd |   - name: sshd | ||||||
|     image: linuxkit/sshd:v0.6 |     image: linuxkit/sshd:c4bc89cf0d66733c923ab9cb46198b599eb99320 | ||||||
|     binds: |     binds: | ||||||
|      - /run/config/ssh/authorized_keys:/root/.ssh/authorized_keys |      - /run/config/ssh/authorized_keys:/root/.ssh/authorized_keys | ||||||
|   - name: nginx |   - name: nginx | ||||||
|   | |||||||
| @@ -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:v0.6 |     image: linuxkit/getty:2eb742cd7a68e14cf50577c02f30147bc406e478 | ||||||
|     # 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 | ||||||
|   | |||||||
| @@ -18,7 +18,7 @@ onshutdown: | |||||||
|     command: ["/bin/echo", "so long and thanks for all the fish"] |     command: ["/bin/echo", "so long and thanks for all the fish"] | ||||||
| services: | services: | ||||||
|   - name: getty |   - name: getty | ||||||
|     image: linuxkit/getty:v0.6 |     image: linuxkit/getty:2eb742cd7a68e14cf50577c02f30147bc406e478 | ||||||
|     env: |     env: | ||||||
|      - INSECURE=true |      - INSECURE=true | ||||||
|     runtime: |     runtime: | ||||||
|   | |||||||
| @@ -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:v0.6 |     image: linuxkit/getty:2eb742cd7a68e14cf50577c02f30147bc406e478 | ||||||
|     env: |     env: | ||||||
|      - INSECURE=true |      - INSECURE=true | ||||||
|   - name: influxdb |   - name: influxdb | ||||||
|   | |||||||
| @@ -17,7 +17,7 @@ onboot: | |||||||
| services: | services: | ||||||
| # Inside the getty type `/proc/1/root/usr/bin/logread -F` to follow the log | # Inside the getty type `/proc/1/root/usr/bin/logread -F` to follow the log | ||||||
|   - name: getty |   - name: getty | ||||||
|     image: linuxkit/getty:v0.6 |     image: linuxkit/getty:2eb742cd7a68e14cf50577c02f30147bc406e478 | ||||||
|     env: |     env: | ||||||
|      - INSECURE=true |      - INSECURE=true | ||||||
| # A service which generates log messages for testing | # A service which generates log messages for testing | ||||||
|   | |||||||
| @@ -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:v0.6 |     image: linuxkit/getty:2eb742cd7a68e14cf50577c02f30147bc406e478 | ||||||
|     env: |     env: | ||||||
|      - INSECURE=true |      - INSECURE=true | ||||||
| trust: | trust: | ||||||
|   | |||||||
| @@ -7,7 +7,7 @@ init: | |||||||
|   - linuxkit/containerd:d955db7cd28dbd7be8a17d7063cc6b7f1bf91f0a |   - linuxkit/containerd:d955db7cd28dbd7be8a17d7063cc6b7f1bf91f0a | ||||||
| services: | services: | ||||||
|   - name: getty |   - name: getty | ||||||
|     image: linuxkit/getty:v0.6 |     image: linuxkit/getty:2eb742cd7a68e14cf50577c02f30147bc406e478 | ||||||
|     env: |     env: | ||||||
|      - INSECURE=true |      - INSECURE=true | ||||||
|   - name: rngd |   - name: rngd | ||||||
|   | |||||||
| @@ -19,7 +19,7 @@ services: | |||||||
|   - name: rngd |   - name: rngd | ||||||
|     image: linuxkit/rngd:v0.6 |     image: linuxkit/rngd:v0.6 | ||||||
|   - name: sshd |   - name: sshd | ||||||
|     image: linuxkit/sshd:v0.6 |     image: linuxkit/sshd:c4bc89cf0d66733c923ab9cb46198b599eb99320 | ||||||
|     binds: |     binds: | ||||||
|      - /run/config/ssh/authorized_keys:/root/.ssh/authorized_keys |      - /run/config/ssh/authorized_keys:/root/.ssh/authorized_keys | ||||||
|   - name: nginx |   - name: nginx | ||||||
|   | |||||||
| @@ -24,11 +24,11 @@ services: | |||||||
|   - name: rngd |   - name: rngd | ||||||
|     image: linuxkit/rngd:v0.6 |     image: linuxkit/rngd:v0.6 | ||||||
|   - name: getty |   - name: getty | ||||||
|     image: linuxkit/getty:v0.6 |     image: linuxkit/getty:2eb742cd7a68e14cf50577c02f30147bc406e478 | ||||||
|     env: |     env: | ||||||
|      - INSECURE=true |      - INSECURE=true | ||||||
|   - name: sshd |   - name: sshd | ||||||
|     image: linuxkit/sshd:v0.6 |     image: linuxkit/sshd:c4bc89cf0d66733c923ab9cb46198b599eb99320 | ||||||
| files: | files: | ||||||
|   - path: root/.ssh/authorized_keys |   - path: root/.ssh/authorized_keys | ||||||
|     source: ~/.ssh/id_rsa.pub |     source: ~/.ssh/id_rsa.pub | ||||||
|   | |||||||
| @@ -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:v0.6 |     image: linuxkit/getty:2eb742cd7a68e14cf50577c02f30147bc406e478 | ||||||
|     env: |     env: | ||||||
|      - INSECURE=true |      - INSECURE=true | ||||||
|   # Currently redis:4.0.6-alpine has trust issue with multi-arch |   # Currently redis:4.0.6-alpine has trust issue with multi-arch | ||||||
|   | |||||||
| @@ -11,7 +11,7 @@ onboot: | |||||||
|     image: linuxkit/sysctl:v0.6 |     image: linuxkit/sysctl:v0.6 | ||||||
| services: | services: | ||||||
|   - name: getty |   - name: getty | ||||||
|     image: linuxkit/getty:v0.6 |     image: linuxkit/getty:2eb742cd7a68e14cf50577c02f30147bc406e478 | ||||||
|     env: |     env: | ||||||
|      - INSECURE=true |      - INSECURE=true | ||||||
|   - name: rngd |   - name: rngd | ||||||
|   | |||||||
| @@ -19,7 +19,7 @@ onboot: | |||||||
|     image: linuxkit/metadata:v0.6 |     image: linuxkit/metadata:v0.6 | ||||||
| services: | services: | ||||||
|   - name: getty |   - name: getty | ||||||
|     image: linuxkit/getty:v0.6 |     image: linuxkit/getty:2eb742cd7a68e14cf50577c02f30147bc406e478 | ||||||
|     env: |     env: | ||||||
|      - INSECURE=true |      - INSECURE=true | ||||||
|   - name: rngd |   - name: rngd | ||||||
|   | |||||||
| @@ -14,7 +14,7 @@ onboot: | |||||||
|     command: ["/sbin/rngd", "-1"] |     command: ["/sbin/rngd", "-1"] | ||||||
| services: | services: | ||||||
|   - name: getty |   - name: getty | ||||||
|     image: linuxkit/getty:v0.6 |     image: linuxkit/getty:2eb742cd7a68e14cf50577c02f30147bc406e478 | ||||||
|     env: |     env: | ||||||
|      - INSECURE=true |      - INSECURE=true | ||||||
|   - name: rngd |   - name: rngd | ||||||
| @@ -22,7 +22,7 @@ services: | |||||||
|   - name: dhcpcd |   - name: dhcpcd | ||||||
|     image: linuxkit/dhcpcd:v0.6 |     image: linuxkit/dhcpcd:v0.6 | ||||||
|   - name: sshd |   - name: sshd | ||||||
|     image: linuxkit/sshd:v0.6 |     image: linuxkit/sshd:c4bc89cf0d66733c923ab9cb46198b599eb99320 | ||||||
| files: | files: | ||||||
|   - path: root/.ssh/authorized_keys |   - path: root/.ssh/authorized_keys | ||||||
|     source: ~/.ssh/id_rsa.pub |     source: ~/.ssh/id_rsa.pub | ||||||
|   | |||||||
| @@ -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:v0.6 |     image: linuxkit/getty:2eb742cd7a68e14cf50577c02f30147bc406e478 | ||||||
|     env: |     env: | ||||||
|      - INSECURE=true |      - INSECURE=true | ||||||
|   - name: rngd |   - name: rngd | ||||||
|   | |||||||
| @@ -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:v0.6 |     image: linuxkit/getty:2eb742cd7a68e14cf50577c02f30147bc406e478 | ||||||
|     env: |     env: | ||||||
|      - INSECURE=true |      - INSECURE=true | ||||||
|   - name: tss |   - name: tss | ||||||
|   | |||||||
| @@ -11,7 +11,7 @@ onboot: | |||||||
|     image: linuxkit/sysctl:v0.6 |     image: linuxkit/sysctl:v0.6 | ||||||
| services: | services: | ||||||
|   - name: getty |   - name: getty | ||||||
|     image: linuxkit/getty:v0.6 |     image: linuxkit/getty:2eb742cd7a68e14cf50577c02f30147bc406e478 | ||||||
|     env: |     env: | ||||||
|      - INSECURE=true |      - INSECURE=true | ||||||
|   - name: rngd |   - name: rngd | ||||||
|   | |||||||
| @@ -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:v0.6 |     image: linuxkit/sshd:c4bc89cf0d66733c923ab9cb46198b599eb99320 | ||||||
|   - name: vpnkit-forwarder |   - name: vpnkit-forwarder | ||||||
|     image: linuxkit/vpnkit-forwarder:v0.6 |     image: linuxkit/vpnkit-forwarder:v0.6 | ||||||
|     binds: |     binds: | ||||||
|   | |||||||
| @@ -16,13 +16,13 @@ onboot: | |||||||
|     image: linuxkit/metadata:v0.6 |     image: linuxkit/metadata:v0.6 | ||||||
| services: | services: | ||||||
|   - name: getty |   - name: getty | ||||||
|     image: linuxkit/getty:v0.6 |     image: linuxkit/getty:2eb742cd7a68e14cf50577c02f30147bc406e478 | ||||||
|     env: |     env: | ||||||
|      - INSECURE=true |      - INSECURE=true | ||||||
|   - name: rngd |   - name: rngd | ||||||
|     image: linuxkit/rngd:v0.6 |     image: linuxkit/rngd:v0.6 | ||||||
|   - name: sshd |   - name: sshd | ||||||
|     image: linuxkit/sshd:v0.6 |     image: linuxkit/sshd:c4bc89cf0d66733c923ab9cb46198b599eb99320 | ||||||
|     binds: |     binds: | ||||||
|      - /run/config/ssh/authorized_keys:/root/.ssh/authorized_keys |      - /run/config/ssh/authorized_keys:/root/.ssh/authorized_keys | ||||||
|   - name: nginx |   - name: nginx | ||||||
|   | |||||||
| @@ -40,7 +40,7 @@ onboot: | |||||||
|           net: /run/netns/wg1 |           net: /run/netns/wg1 | ||||||
| services: | services: | ||||||
|   - name: getty |   - name: getty | ||||||
|     image: linuxkit/getty:v0.6 |     image: linuxkit/getty:2eb742cd7a68e14cf50577c02f30147bc406e478 | ||||||
|     env: |     env: | ||||||
|      - INSECURE=true |      - INSECURE=true | ||||||
|     net: /run/netns/wg1 |     net: /run/netns/wg1 | ||||||
|   | |||||||
| @@ -18,7 +18,7 @@ onshutdown: | |||||||
|     command: ["/bin/echo", "so long and thanks for all the fish"] |     command: ["/bin/echo", "so long and thanks for all the fish"] | ||||||
| services: | services: | ||||||
|   - name: getty |   - name: getty | ||||||
|     image: linuxkit/getty:v0.6 |     image: linuxkit/getty:2eb742cd7a68e14cf50577c02f30147bc406e478 | ||||||
|     env: |     env: | ||||||
|      - INSECURE=true |      - INSECURE=true | ||||||
|   - name: rngd |   - name: rngd | ||||||
|   | |||||||
| @@ -11,6 +11,7 @@ config: | |||||||
|     - /usr/bin/runc:/usr/bin/runc |     - /usr/bin/runc:/usr/bin/runc | ||||||
|     - /containers:/containers |     - /containers:/containers | ||||||
|     - /var/log:/var/log |     - /var/log:/var/log | ||||||
|  |     - /var/lib/containerd:/var/lib/containerd | ||||||
|     - /dev:/dev |     - /dev:/dev | ||||||
|     - /sys:/sys |     - /sys:/sys | ||||||
|   capabilities: |   capabilities: | ||||||
|   | |||||||
| @@ -11,6 +11,7 @@ config: | |||||||
|     - /usr/bin/runc:/usr/bin/runc |     - /usr/bin/runc:/usr/bin/runc | ||||||
|     - /containers:/containers |     - /containers:/containers | ||||||
|     - /var/log:/var/log |     - /var/log:/var/log | ||||||
|  |     - /var/lib/containerd:/var/lib/containerd | ||||||
|     - /dev:/dev |     - /dev:/dev | ||||||
|     - /sys:/sys |     - /sys:/sys | ||||||
|   capabilities: |   capabilities: | ||||||
|   | |||||||
| @@ -21,7 +21,7 @@ onboot: | |||||||
|     command: ["/usr/bin/mountie", "/var/lib/docker"] |     command: ["/usr/bin/mountie", "/var/lib/docker"] | ||||||
| services: | services: | ||||||
|   - name: getty |   - name: getty | ||||||
|     image: linuxkit/getty:v0.6 |     image: linuxkit/getty:2eb742cd7a68e14cf50577c02f30147bc406e478 | ||||||
|     env: |     env: | ||||||
|      - INSECURE=true |      - INSECURE=true | ||||||
|   - name: rngd |   - name: rngd | ||||||
|   | |||||||
| @@ -21,7 +21,7 @@ onboot: | |||||||
|     command: ["/usr/bin/mountie", "/var/lib/docker"] |     command: ["/usr/bin/mountie", "/var/lib/docker"] | ||||||
| services: | services: | ||||||
|   - name: getty |   - name: getty | ||||||
|     image: linuxkit/getty:v0.6 |     image: linuxkit/getty:2eb742cd7a68e14cf50577c02f30147bc406e478 | ||||||
|     env: |     env: | ||||||
|      - INSECURE=true |      - INSECURE=true | ||||||
|   - name: rngd |   - name: rngd | ||||||
|   | |||||||
| @@ -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:v0.6 |     image: linuxkit/getty:2eb742cd7a68e14cf50577c02f30147bc406e478 | ||||||
|     env: |     env: | ||||||
|      - INSECURE=true |      - INSECURE=true | ||||||
| trust: | trust: | ||||||
|   | |||||||
| @@ -12,7 +12,7 @@ onboot: | |||||||
|     image: linuxkit/sysctl:v0.6 |     image: linuxkit/sysctl:v0.6 | ||||||
| services: | services: | ||||||
|   - name: getty |   - name: getty | ||||||
|     image: linuxkit/getty:v0.6 |     image: linuxkit/getty:2eb742cd7a68e14cf50577c02f30147bc406e478 | ||||||
|     env: |     env: | ||||||
|      - INSECURE=true |      - INSECURE=true | ||||||
|   - name: rngd |   - name: rngd | ||||||
|   | |||||||
| @@ -28,9 +28,9 @@ onboot: | |||||||
|      - /lib:/lib     # for ifconfig |      - /lib:/lib     # for ifconfig | ||||||
| services: | services: | ||||||
|   - name: sshd |   - name: sshd | ||||||
|     image: linuxkit/sshd:v0.6 |     image: linuxkit/sshd:c4bc89cf0d66733c923ab9cb46198b599eb99320 | ||||||
|   - name: getty |   - name: getty | ||||||
|     image: linuxkit/getty:v0.6 |     image: linuxkit/getty:2eb742cd7a68e14cf50577c02f30147bc406e478 | ||||||
|     env: |     env: | ||||||
|      - INSECURE=true |      - INSECURE=true | ||||||
| files: | files: | ||||||
|   | |||||||
| @@ -13,7 +13,7 @@ services: | |||||||
|   - name: dhcpcd |   - name: dhcpcd | ||||||
|     image: linuxkit/dhcpcd:v0.6 |     image: linuxkit/dhcpcd:v0.6 | ||||||
|   - name: getty |   - name: getty | ||||||
|     image: linuxkit/getty:v0.6 |     image: linuxkit/getty:2eb742cd7a68e14cf50577c02f30147bc406e478 | ||||||
|     env: |     env: | ||||||
|      - INSECURE=true |      - INSECURE=true | ||||||
| trust: | trust: | ||||||
|   | |||||||
| @@ -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:v0.6 |     image: linuxkit/getty:2eb742cd7a68e14cf50577c02f30147bc406e478 | ||||||
|     env: |     env: | ||||||
|      - INSECURE=true |      - INSECURE=true | ||||||
|   - name: rngd |   - name: rngd | ||||||
|   | |||||||
| @@ -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:v0.6 |     image: linuxkit/getty:2eb742cd7a68e14cf50577c02f30147bc406e478 | ||||||
| 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) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user