mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-22 10:31:35 +00:00
Mount system /sys into getty container
Without this the mounts underneath here were not visible. fix #2019 Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
parent
39c49e24ef
commit
19b3beff9f
@ -17,4 +17,4 @@ COPY --from=mirror /out/ /
|
|||||||
COPY usr/ /usr/
|
COPY usr/ /usr/
|
||||||
COPY etc/ /etc/
|
COPY etc/ /etc/
|
||||||
CMD ["/usr/bin/rungetty.sh"]
|
CMD ["/usr/bin/rungetty.sh"]
|
||||||
LABEL org.mobyproject.config='{"pid": "host", "net":"host", "binds": ["/run:/run", "/etc:/hostroot/etc","/tmp/ctr:/tmp/ctr", "/usr/bin/ctr:/usr/bin/ctr", "/usr/bin/runc:/usr/bin/runc", "/usr/bin/dist:/usr/bin/dist", "/var:/var","/containers:/containers","/dev:/dev"], "capabilities": ["all"]}'
|
LABEL org.mobyproject.config='{"pid": "host", "net":"host", "binds": ["/run:/run", "/etc:/hostroot/etc","/tmp/ctr:/tmp/ctr", "/usr/bin/ctr:/usr/bin/ctr", "/usr/bin/runc:/usr/bin/runc", "/usr/bin/dist:/usr/bin/dist", "/var:/var","/containers:/containers","/dev:/dev","/sys:/sys"], "capabilities": ["all"]}'
|
||||||
|
Loading…
Reference in New Issue
Block a user