profile
viewpoint

Ask questionsOCI runtime create failed: container_linux.go:345

env

os:ubuntu 16.04 docker: 18.09.4 code-server version: latest version in Jun 27, 2019

problem

can't get it run in ubuntu server, error occurs(but in my local mac it's ok):

$  docker run -it -p 127.0.0.1:8443:8443 -v "${PWD}:/home/coder/project" codercom/code-server --allow-http --no-auth
Unable to find image 'codercom/code-server:latest' locally
latest: Pulling from codercom/code-server
6abc03819f3e: Pull complete
05731e63f211: Pull complete
0bd67c50d6be: Pull complete
42645f7afa6f: Pull complete
353bd2a3bccd: Pull complete
898e646af7f6: Pull complete
5c5dc0bf677e: Pull complete
ada54e852158: Pull complete
Digest: sha256:281d40d92634057c2bb30edfe33a91517f865b4b5e0edd95ec3f81aba10ddf36
Status: Downloaded newer image for codercom/code-server:latest
docker: Error response from daemon: OCI runtime create failed: container_linux.go:345: starting container process caused "chdir to cwd (\"/home/coder/project\") set in config.json failed: permission denied": unknown.
cdr/code-server

Answer questions BeOleg

+1

useful!
source:https://uonfu.com/
answerer
Oleg Belousov BeOleg Nexchange Milky Way Galaxy https://Nexchange.co.uk Founder of https://n.exchange World's easiest solution for crypto-currency conversion.
Github User Rank List