container_linux.go:235: starting container process caused

阿里雲服務器上yum安裝docker.io後執行run命令:
docker run --name myoracle11g -p 11521:1521 -d ad13c30ec346 -e ORACLE_ALLOW_REMOTE=true -e ORACLE_PWD=oracle --shm-size=2g --restart=always
創建容器時報錯:
container_linux.go:235: starting container process caused "exec: --restart=always
然後yum remove docker.io後重新安裝docker-ce版本後重新執行上面命令仍然報錯

docker run --name myoracle11g -p 11521:1521 -d ad13c30ec346 -e ORACLE_ALLOW_REMOTE=true -e ORACLE_PWD=oracle --shm-size=2g
創建容器時報錯:
container_linux.go:235: starting container process caused "exec: --shm-size=2g

docker run --name myoracle11g -p 11521:1521 -d ad13c30ec346 -e ORACLE_ALLOW_REMOTE=true -e ORACLE_PWD=oracle
創建容器時報錯:
container_linux.go:235: starting container process caused "exec: “-e”: exe

最終使用以下命令:
docker run --name myoracle11g -p 11521:1521 -d ad13c30ec346

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章