Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installing Docker.io on Ubuntu 14.04LTS

I'm running a virtual machine in Windows Azure with the prebuild image for Ubuntu 14.04 LTS.

When I want to install Docker.io like described here: http://blog.docker.io/2014/04/docker-in-ubuntu-ubuntu-in-docker/

The installation works but when i`m running:

sudo docker.io pull ubuntu 

An error will be thrown:

Cannot connect to the Docker daemon. Is docker -d running on this host?

Can anyone help or has the similar problem?

P.S.: Can anyone with a high reputation create a Tag for Ubuntu-14.04?

like image 278
lkoenigsberger Avatar asked Apr 19 '14 11:04

lkoenigsberger


People also ask

Is there Docker desktop for Ubuntu?

To install Docker Desktop successfully, you must: Meet the system requirements. Have a 64-bit version of either Ubuntu Jammy Jellyfish 22.04 (LTS) or Ubuntu Impish Indri 21.10. Docker Desktop is supported on x86_64 (or amd64 ) architecture.

Which command will start a container based on Ubuntu 14.04 base image?

-- docker versionWhich of the following command will start a container based on Ubuntu 14.04 baseimage? -- docker run ubuntu:14.

Can Docker be installed on bare metal?

Docker is more limited and can run only on Linux, certain Windows servers and IBM mainframes if hosted on bare metal. For example, Docker runs natively only on bare-metal Windows servers running Windows Server 2016 or later.


1 Answers

Evidently the docker daemon is not running. You wanna check /etc/default/docker.conf for proper configuration and issue

sudo service docker.io start

or

sudo service docker start

depending on how they called the service

like image 186
Evgeny Chernyavskiy Avatar answered Nov 15 '22 15:11

Evgeny Chernyavskiy