Docker on Ubuntu
NickName:Nico Schuck Ask DateTime:2018-05-07T22:09:06

Docker on Ubuntu

I try to install docker on my Ubuntu 16.04.4 LTS. I know how to use basic things on linux but not much in details. Thats why i followed following tutorial:

https://docs.docker.com/install/linux/docker-ce/ubuntu/

On last step (where I try to install docker-ce)

sudo apt-get install docker-ce

i get following error:

docker-ce (18.03.1~ce-0~ubuntu) wird eingerichtet ... Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.

invoke-rc.d: initscript docker, action "start" failed.

● docker.service - Docker Application Container Engine

Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled) Active: activating (auto-restart) (Result: exit-code) since Mo 2018-05-07 15:53:45 CEST; 5ms ago
Docs: https://docs.docker.com
Process: 6784 ExecStart=/usr/bin/dockerd -H fd:// (code=exited, status=1/FAILURE)
Main PID: 6784 (code=exited, status=1/FAILURE)
Memory: 32.1M
CGroup: /system.slice/docker.service dpkg: error on executing Paketes docker-ce (--configure): post-installation-Skript returned error 1 on executing: docker-ce
E: Sub-process /usr/bin/dpkg returned an error code (1)

I tried to fix it by myself and here some informations which was required in diffrent forums:

cat /etc/apt/sources.list:

deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable

dpkg --configure -a

same error like above (and i have no idea for what this comannd is responsible)

Copyright Notice:Content Author:「Nico Schuck」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/50216274/docker-on-ubuntu

More about “Docker on Ubuntu” related questions

Docker on Ubuntu

I try to install docker on my Ubuntu 16.04.4 LTS. I know how to use basic things on linux but not much in details. Thats why i followed following tutorial: https://docs.docker.com/install/linux/do...

Show Detail

Kubernetes in docker for Ubuntu

Is there an ubuntu version of Kubernetes in docker for Ubuntu, that works like docker for mac(https://blog.docker.com/2018/01/docker-mac-kubernetes/). and docker for windows (https://docs.docker.com/

Show Detail

Not able to start a Docker in Ubuntu

ubuntu-gnome@ubuntu-gnome:~$ docker images Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.30/ima...

Show Detail

Ubuntu docker running docker

I have the following docker-compose file: version: '2' services: ubuntu: image: 'ubuntu:16.04' ports: - '22:22' When start this, the container seems to crash, the followin

Show Detail

Run docker build in ubuntu:16.04 docker

I want to build a docker image in docker container. So, I tried to create a docker-installed ubuntu docker image following https://docs.docker.com/engine/installation/linux/ubuntu/, but failed. F...

Show Detail

ubuntu 18.04 docker container

i'm runnung docker on windows 10 desktop. i like to run ubuntu 18.04 docker container. i have pulled ubuntu and ran following docker command Docker up -d ubuntu i'm not seeing image running whe...

Show Detail

Whether Docker machine necessary for Ubuntu,if not how to TCP a Ubuntu docker daemon?

I have installed docker on ubuntu machine to run docker on tcp in windows or mac machine we need docker-machine whereas in ubuntu it not necessary since it is already running on linux environment If

Show Detail

Docker installation on Ubuntu

I am new here and I've been trying to install docker on Ubuntu but I have no clue where this error is coming from. I followed the installation instruction for Ubuntu on Docker website, and everyth...

Show Detail

Docker install in Ubuntu trusty

Trying to install Docker in Ubuntu trusty following instructions here: https://docs.docker.com/engine/installation/linux/docker-ce/ubuntu/ Tried first to use repo. That failed with E: Unable to ...

Show Detail

Docker running ubuntu with elasticsearch

I have a ubuntu docker. I install elasticsearch service it. When i use the command "curl -X GET 'localhost:9200' ", it return me the version, the name, all right. It means the elasticsearch is

Show Detail