docker run -dit -v $(pwd):/git --entrypoint /bin/sh alpine/git
Note:
Without --entrypoint /bin/sh
, the container will exit immediately.
docker run -dit -v $(pwd):/git --entrypoint /bin/sh alpine/git
Note:
Without --entrypoint /bin/sh
, the container will exit immediately.
最新评论