mirror of
https://github.com/bingohuang/docker-labs.git
synced 2025-10-04 17:33:21 +08:00
Restart sh if user exits session accidentally
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user