Comments (2)
@MagePsycho Was there any error output other than the trap noting the exit code from docker-compose? Can you tell me, what version of Docker and docker compose you have installed?
docker -v
docker-compose -v
As the README notes, I've only tested this on Ubuntu 18.10 and Fedora 29 as far as Linux OSs go, so I'm not 100% it works on Ubuntu 16, but I wouldn't expect docker-compose to be the failure point (unless docker-compose is perhaps not installed properly). I plan to setup an Ubuntu 16.04.06 LTS VM to install and see where it leads.
from warden.
Setup an Ubuntu 16 in a VM. The full error message is as follows:
ERROR: Version in "./docker/docker-compose.yml" is unsupported. You might be seeing this error because you're using the wrong Compose file version. Either specify a version of "2" (or "2.0") and place your service definitions under the `services` key, or omit the `version` key and place your service definitions at the root of the file to use version 1.
For more on the Compose file format versions, see https://docs.docker.com/compose/compose-file/
ERROR: Command `docker-compose -p warden -f docker/docker-compose.yml up -d "${WARDEN_PARAMS[@]}" "$@"` on line 23 failed with exit code 1
As the first ERROR message indicates, the docker compose version which ships to Ubuntu 16 LTS is too old and unsupported. docker-compose
version 1.18.0 is when support for Compose file version 3.5 was introduced. Digital Ocean has a blog post showing how to install a newer version of docker compose on Ubuntu 16:
https://www.digitalocean.com/community/tutorials/how-to-install-docker-compose-on-ubuntu-16-04
Once in place, Warden will start succesfully, but there is (as I suspected would be the case) issues with automatic DNS resolution. The dnsmasq container starts, but due to differences between Ubuntu 16 and 18 as far as how they perform name resolution, for the auto-DNS warden provides, for this to work on Ubuntu 16 you'll want to touch ~/.warden/nodnsconfig
then warden install && warden up
; once that is disabled, configure the use of 127.0.0.1 as your nameserver in your network configuration (if you want to take advantage of dnsmasq).
I'd welcome (and be more than willing to test a PR which updated the install routine to add support for configuring DNS on Ubuntu 16, as long as it maintained compatibility with new Linux OSs. Since, per the README, Ubuntu 16 is unsupported and I don't personally have the time to do this, I'm going to go ahead and mark this issue as closed.
from warden.
Related Issues (20)
- Blackfire profiling cli with --env
- GRUNT livereload not working
- [env] A "local" project will never include PHP HOT 1
- 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 4
- `warden env up` is so slow [Apple Silicon M3] HOT 2
- [Image] PHP FPM 7.2 not working in Apple Silicon Chip HOT 2
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.