skip to Main Content

I am using docker compose to create a postgresql database and a node server on a ubuntu 23.04 vm. It was working fine for the last few weeks every time I ran docker-compose up –build -d. But now I have the following error. I tried to downgrade my docker version, but I still get the same error :

error when running docker-compose

Here is also the docker version details :docker version

Would anyone have an idea about what is happening?

Thank you very much,
Hugo

I tried downgrading docker but the error still persists.

2

Answers


  1. I have to tell you that after trying so hard to download the decker version, uninstall everything and reinstall it….

    In my case it was solved by running docker compose without any script.
    Before I used to run like this:

    sudo docker-compose up

    And now it works when I run:

    sudo docker compose up

    I hope this will also help you. Regards

    Login or Signup to reply.
  2. Use:

    snap refresh --stable docker
    

    to switch to the stable channel.

    Or use:

    sudo snap refresh --revision=2893 docker
    

    to switch to specific revision.

    Follow the link that helped solve my problem.

    https://stackoverflow.com/a/77296158/22113956

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search