mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-23 11:00:25 +00:00
SSHd: allow access to all devices & fix a warning with tini
Signed-off-by: Sylvain Prat <sylvain.prat@gmail.com>
This commit is contained in:
parent
be43e99310
commit
a71a52b57c
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user