mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-20 09:39:08 +00:00
commit
b5bf29c0f6
@ -19,7 +19,7 @@ services:
|
|||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:a44c6230f1620f1d6310b95a9e9f585de73a8bd7
|
image: linuxkit/rngd:a44c6230f1620f1d6310b95a9e9f585de73a8bd7
|
||||||
- name: sshd
|
- name: sshd
|
||||||
image: linuxkit/sshd:782720b1c320f4b31abd89711ac235d1d441217c
|
image: linuxkit/sshd:4696ba61c3ec091328e1c14857d77e675802342f
|
||||||
binds:
|
binds:
|
||||||
- /run/config/ssh/authorized_keys:/root/.ssh/authorized_keys
|
- /run/config/ssh/authorized_keys:/root/.ssh/authorized_keys
|
||||||
- name: nginx
|
- name: nginx
|
||||||
|
@ -18,7 +18,7 @@ services:
|
|||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:a44c6230f1620f1d6310b95a9e9f585de73a8bd7
|
image: linuxkit/rngd:a44c6230f1620f1d6310b95a9e9f585de73a8bd7
|
||||||
- name: sshd
|
- name: sshd
|
||||||
image: linuxkit/sshd:782720b1c320f4b31abd89711ac235d1d441217c
|
image: linuxkit/sshd:4696ba61c3ec091328e1c14857d77e675802342f
|
||||||
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:52d2c4df0311b182e99241cdc382ff726755c450
|
image: linuxkit/dhcpcd:52d2c4df0311b182e99241cdc382ff726755c450
|
||||||
- name: sshd
|
- name: sshd
|
||||||
image: linuxkit/sshd:782720b1c320f4b31abd89711ac235d1d441217c
|
image: linuxkit/sshd:4696ba61c3ec091328e1c14857d77e675802342f
|
||||||
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 @@ services:
|
|||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:a44c6230f1620f1d6310b95a9e9f585de73a8bd7
|
image: linuxkit/rngd:a44c6230f1620f1d6310b95a9e9f585de73a8bd7
|
||||||
- name: sshd
|
- name: sshd
|
||||||
image: linuxkit/sshd:782720b1c320f4b31abd89711ac235d1d441217c
|
image: linuxkit/sshd:4696ba61c3ec091328e1c14857d77e675802342f
|
||||||
binds:
|
binds:
|
||||||
- /run/config/ssh/authorized_keys:/root/.ssh/authorized_keys
|
- /run/config/ssh/authorized_keys:/root/.ssh/authorized_keys
|
||||||
- name: nginx
|
- name: nginx
|
||||||
|
@ -28,7 +28,7 @@ services:
|
|||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
- name: sshd
|
- name: sshd
|
||||||
image: linuxkit/sshd:782720b1c320f4b31abd89711ac235d1d441217c
|
image: linuxkit/sshd:4696ba61c3ec091328e1c14857d77e675802342f
|
||||||
files:
|
files:
|
||||||
- path: root/.ssh/authorized_keys
|
- path: root/.ssh/authorized_keys
|
||||||
source: ~/.ssh/id_rsa.pub
|
source: ~/.ssh/id_rsa.pub
|
||||||
|
@ -28,7 +28,7 @@ services:
|
|||||||
env:
|
env:
|
||||||
- INSECURE=true
|
- INSECURE=true
|
||||||
- name: sshd
|
- name: sshd
|
||||||
image: linuxkit/sshd:782720b1c320f4b31abd89711ac235d1d441217c
|
image: linuxkit/sshd:4696ba61c3ec091328e1c14857d77e675802342f
|
||||||
files:
|
files:
|
||||||
- path: root/.ssh/authorized_keys
|
- path: root/.ssh/authorized_keys
|
||||||
source: ~/.ssh/id_rsa.pub
|
source: ~/.ssh/id_rsa.pub
|
||||||
|
@ -23,7 +23,7 @@ services:
|
|||||||
- name: rngd
|
- name: rngd
|
||||||
image: linuxkit/rngd:a44c6230f1620f1d6310b95a9e9f585de73a8bd7
|
image: linuxkit/rngd:a44c6230f1620f1d6310b95a9e9f585de73a8bd7
|
||||||
- name: sshd
|
- name: sshd
|
||||||
image: linuxkit/sshd:782720b1c320f4b31abd89711ac235d1d441217c
|
image: linuxkit/sshd:4696ba61c3ec091328e1c14857d77e675802342f
|
||||||
binds:
|
binds:
|
||||||
- /run/config/ssh/authorized_keys:/root/.ssh/authorized_keys
|
- /run/config/ssh/authorized_keys:/root/.ssh/authorized_keys
|
||||||
- name: nginx
|
- name: nginx
|
||||||
|
@ -22,7 +22,7 @@ services:
|
|||||||
- name: dhcpcd
|
- name: dhcpcd
|
||||||
image: linuxkit/dhcpcd:52d2c4df0311b182e99241cdc382ff726755c450
|
image: linuxkit/dhcpcd:52d2c4df0311b182e99241cdc382ff726755c450
|
||||||
- name: sshd
|
- name: sshd
|
||||||
image: linuxkit/sshd:782720b1c320f4b31abd89711ac235d1d441217c
|
image: linuxkit/sshd:4696ba61c3ec091328e1c14857d77e675802342f
|
||||||
files:
|
files:
|
||||||
- path: root/.ssh/authorized_keys
|
- path: root/.ssh/authorized_keys
|
||||||
source: ~/.ssh/id_rsa.pub
|
source: ~/.ssh/id_rsa.pub
|
||||||
|
@ -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:782720b1c320f4b31abd89711ac235d1d441217c
|
image: linuxkit/sshd:4696ba61c3ec091328e1c14857d77e675802342f
|
||||||
- name: vpnkit-forwarder
|
- name: vpnkit-forwarder
|
||||||
image: linuxkit/vpnkit-forwarder:ea4dded7386b09dd647e854664b029be0a4f420f
|
image: linuxkit/vpnkit-forwarder:ea4dded7386b09dd647e854664b029be0a4f420f
|
||||||
binds:
|
binds:
|
||||||
|
@ -22,4 +22,4 @@ COPY --from=mirror /out/ /
|
|||||||
COPY etc/ /etc/
|
COPY etc/ /etc/
|
||||||
COPY usr/ /usr/
|
COPY usr/ /usr/
|
||||||
RUN mkdir -p /etc/ssh /root/.ssh && chmod 0700 /root/.ssh
|
RUN mkdir -p /etc/ssh /root/.ssh && chmod 0700 /root/.ssh
|
||||||
CMD ["/sbin/tini", "/usr/bin/ssh.sh"]
|
CMD ["/sbin/tini", "-s", "/usr/bin/ssh.sh"]
|
||||||
|
@ -16,3 +16,6 @@ config:
|
|||||||
- /sys:/sys
|
- /sys:/sys
|
||||||
capabilities:
|
capabilities:
|
||||||
- all
|
- all
|
||||||
|
devices:
|
||||||
|
- path: all
|
||||||
|
type: a
|
||||||
|
@ -28,7 +28,7 @@ onboot:
|
|||||||
- /lib:/lib # for ifconfig
|
- /lib:/lib # for ifconfig
|
||||||
services:
|
services:
|
||||||
- name: sshd
|
- name: sshd
|
||||||
image: linuxkit/sshd:782720b1c320f4b31abd89711ac235d1d441217c
|
image: linuxkit/sshd:4696ba61c3ec091328e1c14857d77e675802342f
|
||||||
- name: getty
|
- name: getty
|
||||||
image: linuxkit/getty:3c6e89681a988c3d4e2610fcd7aaaa0247ded3ec
|
image: linuxkit/getty:3c6e89681a988c3d4e2610fcd7aaaa0247ded3ec
|
||||||
env:
|
env:
|
||||||
|
Loading…
Reference in New Issue
Block a user