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

Missing instructions in ubuntu install from repo #19933

Open
1 task done
Kristianwhittick opened this issue May 1, 2024 · 0 comments
Open
1 task done

Missing instructions in ubuntu install from repo #19933

Kristianwhittick opened this issue May 1, 2024 · 0 comments
Labels
status/triage Needs triage

Comments

@Kristianwhittick
Copy link

Kristianwhittick commented May 1, 2024

Is this a docs issue?

  • My issue is about the documentation content or website

Type of issue

Information is incorrect

Description

Missing command in step 3 of section Install using the apt repository, the command is to run the hello world example, but the daemon has not been started.

Command

sudo docker run hello-world`

Output

docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.
See 'docker run --help'.

The command is present in step 6 of Install from a package. Although it does state at the end of section 5 that the daemon will automatically start.

sudo service docker start
sudo docker run hello-world

Location

https://docs.docker.com/engine/install/ubuntu/
https://docs.docker.com/engine/install/debian/

Suggestion

Please add the missing daemon start command to step 3 of section Install using the apt repository,

Also, add the comment to the effect for both section 3 & 6, alternatively the daemon will auto-start on Debian and Ubuntu when the system is rebooted. This comment is present in the "Linux post-installation steps for Docker Engine" page.

On Debian and Ubuntu, the Docker service starts on boot by default.To automatically start Docker and containerd on boot for other Linux distributions using systemd, run the following commands:

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

No branches or pull requests

1 participant