命令:
镜像启动映射端口加加载目录docker run -it --name oracle -p 1521:1521 -v /home/docker:/mnt joinwe/oracle
1、service docker start(开启docker服务)
2、docker start containerID(启动已有容器)
3、docker exec -it oracle bash(进入su用户)
4、docker exec -it oracle sudo -u oracle -i bash(进入oracle用户)
5、docker cp <containerId>:/file/path/within/container /host/path/target
版权说明
本文地址:https://www.chensj.net/?post=54
未标注转载均为本站远程,转载请注明文章出处: