1
0
mirror of https://github.com/bingohuang/docker-labs.git synced 2025-07-13 17:42:53 +08:00

Restart sh if user exits session accidentally

This commit is contained in:
Marcos Lilljedahl 2016-11-15 18:54:51 -03:00
parent 2afff63f4c
commit a97a7c793e

View File

@ -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