mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-21 18:11:35 +00:00
Make sshd example usefull for debugging
Signed-off-by: Ilya Dmitrichenko <errordeveloper@gmail.com>
This commit is contained in:
parent
ff009335a2
commit
a3638a2b8f
@ -49,15 +49,9 @@ daemon:
|
|||||||
net: host
|
net: host
|
||||||
oomScoreAdj: -800
|
oomScoreAdj: -800
|
||||||
- name: sshd
|
- name: sshd
|
||||||
image: "mobylinux/sshd:4f8452ddaff703416fd7452fcd9693b96b23e847"
|
image: "mobylinux/sshd:160631d59fffc13d523ff7f09b3b49538d34b9cd"
|
||||||
capabilities:
|
capabilities:
|
||||||
- CAP_NET_BIND_SERVICE
|
- all
|
||||||
- CAP_CHOWN
|
|
||||||
- CAP_SETUID
|
|
||||||
- CAP_SETGID
|
|
||||||
- CAP_DAC_OVERRIDE
|
|
||||||
- CAP_SYS_CHROOT
|
|
||||||
- CAP_KILL
|
|
||||||
net: host
|
net: host
|
||||||
pid: host
|
pid: host
|
||||||
binds:
|
binds:
|
||||||
|
@ -36,15 +36,9 @@ daemon:
|
|||||||
net: host
|
net: host
|
||||||
oomScoreAdj: -800
|
oomScoreAdj: -800
|
||||||
- name: sshd
|
- name: sshd
|
||||||
image: "mobylinux/sshd:4f8452ddaff703416fd7452fcd9693b96b23e847"
|
image: "mobylinux/sshd:160631d59fffc13d523ff7f09b3b49538d34b9cd"
|
||||||
capabilities:
|
capabilities:
|
||||||
- CAP_NET_BIND_SERVICE
|
- all
|
||||||
- CAP_CHOWN
|
|
||||||
- CAP_SETUID
|
|
||||||
- CAP_SETGID
|
|
||||||
- CAP_DAC_OVERRIDE
|
|
||||||
- CAP_SYS_CHROOT
|
|
||||||
- CAP_KILL
|
|
||||||
net: host
|
net: host
|
||||||
pid: host
|
pid: host
|
||||||
binds:
|
binds:
|
||||||
|
@ -5,6 +5,7 @@ RUN \
|
|||||||
apk add --no-cache \
|
apk add --no-cache \
|
||||||
openssh-server \
|
openssh-server \
|
||||||
tini \
|
tini \
|
||||||
|
util-linux \
|
||||||
&& true
|
&& true
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
Loading…
Reference in New Issue
Block a user