Giter VIP home page Giter VIP logo

Comments (7)

conloos avatar conloos commented on July 28, 2024 1

Hi @spurin,

hostadmin@udemy-ansible:~$ docker-compose --version
docker-compose version 1.25.0, build unknown

After installing:

i get it work without the described error.

At the moment the compose is running.

Thanks Frank

from diveintoansible-lab.

spurin avatar spurin commented on July 28, 2024

Hi @conloos,

Can you please run docker-compose --version and share the details of the version you are running.

Cheers

from diveintoansible-lab.

spurin avatar spurin commented on July 28, 2024

Thanks @conloos,

I think it may have been an old version of docker or docker-compose that was causing the problem. The following matrix provides version support - https://docs.docker.com/compose/compose-file/

Good to see you've resolved it. I think ... possibly tweaking the version line at the top of the file may have also worked. Will have a look through the spec and see if there's anything actually tying this to 3.8 (which is current).

Hope you enjoy the rest of the course

from diveintoansible-lab.

conloos avatar conloos commented on July 28, 2024

@spurin now it works

I think

hostadmin@udemy-ansible:~$ apt search docker-compose
Sorting... Done
Full Text Search... Done
docker-compose/groovy,now 1.25.0-1 all [installed]
  Punctual, lightweight development environments using Docker

is not working.

from diveintoansible-lab.

spurin avatar spurin commented on July 28, 2024

Re-opened the issue.

Can you please run and share the the following -

docker-compose --version
docker --version
apt list --installed | grep docker

from diveintoansible-lab.

conloos avatar conloos commented on July 28, 2024

Hi @spurin ,

sorry for the delay.

hostadmin@udemy-ansible:~$ docker-compose --version
docker-compose version 1.27.4, build 40524192
hostadmin@udemy-ansible:~$ docker --version
Docker version 20.10.1, build 831ebea
hostadmin@udemy-ansible:~$ apt list --installed | grep docker

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

docker-ce-cli/focal,now 5:20.10.1~3-0~ubuntu-focal amd64 [installed]
docker-ce-rootless-extras/focal,now 5:20.10.1~3-0~ubuntu-focal amd64 [installed,automatic]
docker-ce/focal,now 5:20.10.1~3-0~ubuntu-focal amd64 [installed]

happy new year, greetings frank

PS: To explain the facts again: your containers cannot be started with the "docker-compose",
which is supplied by default with ubuntu 20.04 / 20.10.

After installing:

i get it work without the error described.

from diveintoansible-lab.

spurin avatar spurin commented on July 28, 2024

Wow,

Thanks @conloos for confirming and the detail provided. I imagine that this will be useful also to others.

Appreciate your feedback and wish you the best also, for the new year!

from diveintoansible-lab.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.