Docker#

Build image:

$ docker build .

Get a clean Debian 10 shell with PWD mounted:

$ docker pull debian:10
$ docker run -it -v $PWD:/app debian:10 bash
-i, --interactive

Keep STDIN open even if not attached

-t, --tty

Allocate a pseudo-TTY

-v

Start a container with a bind mount

评论

如果你有任何意见,请在此评论。 如果你留下了电子邮箱,我可能会通过 回复你。