Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix docker start command #1

Open
hpretl opened this issue Apr 2, 2022 · 1 comment
Open

Fix docker start command #1

hpretl opened this issue Apr 2, 2022 · 1 comment

Comments

@hpretl
Copy link

hpretl commented Apr 2, 2022

I found that VNC needs the following to work:

Instead of
docker run -it -p 80:80 --user $(id -u):$(id -g) -v $DESIGNS:/foss/designs efabless/foss-asic-tools:latest bash

one needs to run
docker run -it -p 80:80 -p 5901:5901 --user $(id -u):$(id -g) -v $DESIGNS:/foss/designs efabless/foss-asic-tools:latest bash

Please update the instructions accordingly.

@OK83
Copy link

OK83 commented Jan 23, 2023

I'm sorry. I'm working with Ubuntu and havn't done eneything with docker until today.
after installing docker (followed https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-20-04-de)
I've execute the followed commands:

  • sudo apt update && sudo apt upgrade -y
  • curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
  • sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable"
  • sudo apt update
  • apt-cache policy docker-ce
  • sudo apt install docker-ce
  • sudo systemctl status docker
  • mkdir design-files
  • sudo docker pull efabless/foss-asic-tools:latest
  • latest: Pulling from efabless/foss-asic-tools
  • ->
Digest: sha256:59e4a3a814ca6b2e24870130b0bfb3fc43650e7e89b33626084148905ffefcd1
Status: Image is up to date for efabless/foss-asic-tools:latest
docker.io/efabless/foss-asic-tools:latest
  • sudo docker run -it -p 80:80 --user $(id -u):$(id -g) -v $DESIGNS:/foss/designs efabless/foss-asic-tools:latest bash
  • ->
docker: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/create": dial unix /var/run/docker.sock: connect: permission denied.
See 'docker run --help'.

Please could you help me to fix my problem. I'm sorry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants