Comments (7)
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.
Hi @conloos,
Can you please run docker-compose --version and share the details of the version you are running.
Cheers
from diveintoansible-lab.
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.
@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.
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.
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.
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)
- Ansible user unable to connect to hosts HOT 2
- Ansible Playbooks Deep Dive Register and When - Rev 5 HOT 2
- docker_playbook.yaml fails with timeout HOT 4
- Permission problem HOT 1
- Support Windows clients in lab HOT 1
- Login incorrect HOT 1
- Unable to install sshpass HOT 1
- Words dont appear after writing HOT 10
- ssh-keygen -H -F 172.18.0.7 not printing. HOT 6
- Windows docker-compose up fails with 'Error response from daemon: Conflict. The container name "centos3" is already in use.... HOT 3
- /diveintoansible/ directory missing on ubuntu-c HOT 1
- Only docker-compose version seems to work
- Problem to open on the browser HOT 35
- Add cleanup script HOT 1
- Add ansible_home to .gitignore
- gitattributes is missing entries for md and png
- add editorconfig
- Permission denied error after running 'docker-compose up' (Windows 11) HOT 5
- Big clash with VirtualBox TTY management under Windows10 HOT 1
- Unable to connect to individual hosts after getting to localhost:1000
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from diveintoansible-lab.