mirror of
https://github.com/bingohuang/docker-labs.git
synced 2025-07-14 01:57:32 +08:00
Restart sh if user exits session accidentally
This commit is contained in:
parent
2afff63f4c
commit
a97a7c793e
@ -5,5 +5,5 @@ RUN apk add --no-cache git tmux py-pip apache2-utils vim \
|
||||
|
||||
COPY vimrc ./root/.vimrc
|
||||
|
||||
CMD docker daemon --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 --storage-driver=vfs &>- & /bin/sh
|
||||
CMD docker daemon --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 --storage-driver=vfs &>- & while true; do /bin/sh; done
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user