question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Docker run command produces error

See original GitHub issue

I just copied and paste the docker run command from your docker hub (https://hub.docker.com/r/codercom/code-server) but I get the below error:

~/test/docker-vscode$ docker run -it -p 127.0.0.1:8080:8080 \
>   -v "$PWD:/home/coder/project" \
>   -u "$(id -u):$(id -g)" \
>   codercom/code-server:latest
[2021-01-13T15:25:01.230Z] error ENOENT: no such file or directory, mkdir '/home/coder/.config'

I am using Ubuntu 18.04 and docker version 19.03.13.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
nhooyrcommented, Jan 18, 2021

Updated on docker hub as well.

0reactions
nhooyrcommented, Jan 18, 2021

Looks like I didn’t update the docker hub listing.

See https://github.com/cdr/code-server/blob/v3.8.0/doc/install.md#docker for the correct command!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Docker run command produces error · Issue #2575 - GitHub
I just copied and paste the docker run command from your docker hub (https://hub.docker.com/r/codercom/code-server) but I get the below ...
Read more >
Why docker RUN command causes exec error anytime?
That error indicates you're trying to run binaries from another architecture. Most likely 64-bit binaries on a 32-bit host.
Read more >
How to Fix and Debug Docker Containers Like a Superhero
Take the container's default command and attempt to run it again. A “command not found” error message will appear.
Read more >
Error while executing docker run command - Edureka
This error occurs when your port is already being used up. Right now I'm assuming you have Jenkins running on your 8080 port...
Read more >
Docker run command - Learn2Torials
If image can not be found on local or on docker hub it gives you no error and does nothing. Let's take an...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found