如何进入docker容器目录

2020-08-12 13:26:31

要进入docker容器目录可以执行如下命令:

docker container exec -it 容器id /bin/bash

或者

docker container exec -it 容器id /bin/sh