Snowcrash
Snowcrash

Reputation: 86097

Docker on Ubuntu 16.04 LTS

I installed Ubuntu 16.04 LTS (ubuntu-16.04.1-server-amd64.iso) on VirtualBox. Checking Docker's status with:

service docker.io status I get:

o docker.io.service
Loaded: not-found (Reason: No such file or directory)

If I try and install it with:

apt-get install -y docker.io

I get docker.io is already the newest version.

If I then try and start it with:

sudo service docker.io start 

I get:

Failed to start docker.io.service: Unit docker.io.service not found

What am I missing?

Upvotes: 1

Views: 639

Answers (1)

Haoming Zhang
Haoming Zhang

Reputation: 2842

The service name is docker, not docker.io.

Upvotes: 4

Related Questions