Comments (6)
Thanks for the info, @navarr. Given that it is a one-time change, I'm fine with it. More important to make the switch to docker compose v2 :)
from warden.
Since quite some users seem to bump into this, I think this should have high priority 🙈 Also, according to https://docs.docker.com/compose/compose-v2/#differences-between-compose-v1-and-compose-v2, it could be as easy as replacing docker-compose
to docker compose
without any additional changes:
The
compose
command in the Docker CLI supports most of thedocker-compose
commands and flags. It is expected to be a drop-in replacement fordocker-compose
.
Do you see any specific things to watch out for, @navarr? If not and you do not get to it, I'd consider sending a PR.
from warden.
@sprankhub I thought there were. I previously did this in Den but I only see the one commit, so I've ported that over in #631
If you have the capability to test this particular issue, I'd appreciate some additional eyes on it.
from warden.
@navarr, sorry for the late feedback. I've installed the docker-compose-plugin
branch from the PR to /opt/warden
and ran /opt/warden/bin/warden env pull && /opt/warden/bin/warden env up --force-recreate
. From the fancier output, I can tell that indeed, docker compose v2 is used. The project still seems to run fine, so I think we are good. Could you merge and release a new version soonish? Looks like there were quite some people affected by this. Thanks!
from warden.
@navarr, I found something. Previously, the containers were named like this:
{{PROJECT_NAME}}_php-fpm_1
Now, the containers are named like this:
{{PROJECT_NAME}}_php-fpm-1
So the number is separated with a dash instead of an underscore.
I am not totally sure if this is really related to the docker compose update or related to an update from 0.12.x to 0.13.x. Anyway, it would be rather bad if the container names change as quite some configuration relies on that.
from warden.
@sprankhub unfortunately that's docker compose v1 vs v2. I can do some research to see if we're stuck with it or not but so far I've always presumed so
from warden.
Related Issues (20)
- warden svc up HOT 1
- Magento 2 env PHP 8.2 issue [warden env pull && warden env up] HOT 6
- [Image] Xdebug3 is not working with PHP 8.1 || 8.2 on Ubuntu HOT 6
- Orbstack slow with Mutagen HOT 8
- [Command] warden vnc Does Not Work Since Docker Compose Update
- How to run without docker desktop for Linux HOT 5
- Traefik not registering default certificate due to indenting error
- Magepack docker image pulled is not the latest version HOT 2
- [Command] how to debug postman phpstorm? HOT 1
- [Command] warden env up HOT 5
- [Command] warden env start HOT 14
- [Image] Varnish and Nginx services have duplicate labels (causing issues with latest docker compose) HOT 2
- Issue with latest Docker release 4.27.1 HOT 6
- [Command] Warden Env Up for Magento 2 no longer works after deleting the containers from Docker Desktop HOT 7
- Introduce variables for GraphQL Application server HOT 5
- `warden env up` is so slow [Apple Silicon M3] HOT 2
- [Image] PHP FPM 7.2 not working in Apple Silicon Chip HOT 2
- [Image] New docker compose spams warnings about the version element in the compose definition files HOT 4
- [Image] php-fpm 5.6 Magento1 xdebug not working HOT 5
- Dnsmasq No Longer Working After Upgrade To v0.14.2 [Brew] HOT 6
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 warden.