0

I'm really new to docker and having problem in installation. I have used all the things available on internet, also installed it twice to check and also used the --fix-missing flag. The main problem is this, After this installation if I'm running docker --version, its printing its version perfectly, but the deamon is not running in the background and I have done a lot of effort to start the deamon but I'm failed. The main picture of my goal is install docker successfully & run the deamon.

Error picture 01

Error picture 02

2
  • 3
    Please paste errors and code into your question directly, using the quote or code block formatting. Don't provide errors or code as images.
    – hnefatl
    Dec 22, 2018 at 13:31
  • Possible duplicate of debian apt packages hash sum mismatch
    – David Maze
    Dec 22, 2018 at 13:51

1 Answer 1

0

try:

sudo rm -rf /var/lib/apt/lists/*
sudo apt clean
sudo apt autoclean
sudo apt update
sudo apt install docker-ce

if this doesn't work, try sudo apt update with a different internet connection and then install docker-ce. This is not your computer's problem. It is a problem from your ISP. I often face it with my ISP then I use different connection and it works. I am sorry I can't explain why it happens. I don't know the cause.

3
  • It worked without giving me the error but the deamon is not starting. Its giving me error: ERROR: Couldn't connect to Docker daemon at http+docker://localhost - is it running? If it's at a non-standard location, specify the URL with the DOCKER_HOST environment variable. Dec 22, 2018 at 13:46
  • sudo systemctl status docker <- for checking status, sudo systemctl start docker <- for running the service, sudo systemctl enable docker <- for starting docker at startup Dec 22, 2018 at 13:49
  • Yup done that before. The Active status is dead in output. Can you please tell me how to start the docker deamon. Thanks a lot!! Dec 22, 2018 at 13:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.