tuto3: boot systemd in mainrouter
This commit is contained in:
parent
5db37d8b45
commit
e2bd8441c0
|
@ -192,13 +192,17 @@ services:
|
|||
- name: mainrouter
|
||||
image: nemunaire/adlin-tuto3:0a3be87ab71564521401498b84280b5d6d1d5649
|
||||
net: /run/netns/router
|
||||
command: ["/bin/sh", "-c", "mkdir -p /run/sshd && exec /usr/sbin/sshd -D"]
|
||||
command: ["/sbin/init", "-d"]
|
||||
capabilities:
|
||||
- all
|
||||
mounts:
|
||||
- type: cgroup
|
||||
options: ["rw","nosuid","noexec","nodev","relatime"]
|
||||
binds:
|
||||
- /etc/dresolv.conf:/etc/resolv.conf
|
||||
- /etc/dpasswd:/etc/passwd
|
||||
- /etc/dshadow:/etc/shadow
|
||||
#- /dev/console:/dev/console
|
||||
- name: matrix
|
||||
image: nemunaire/tinydeb:1f217c10a67219a46133578b0c316ba80d943b59
|
||||
net: /run/netns/chat
|
||||
|
|
Reference in New Issue