When using docker compose I expect that linked services start.
Actual behavior
After updating to the latest docker for mac I am now unable to run any docker compose services. I receive an error message “Unknown runtime specified default” for every dependent service.
$ docker-compose up
Starting pegasusbeta_db_1
Starting pegasusbeta_elasticsearch_1
ERROR: for elasticsearch Unknown runtime specified default
ERROR: for db Unknown runtime specified default
ERROR: Encountered errors while bringing up the project.
Looks related to https://github.com/docker/docker/issues/24343. Removing the containers and restarting them partially resolves the issue. The containers will start, but logging doesn’t work. “jack is incompatible with use of CloseNotifier in same ServeHTTP call”
Same here. A quick solution that worked for me is to “Reset to factory settings” on Docker preferences. Since I use Docker for Mac only for development, I don’t care about losing volume data.
Deleting my containers and re-upping fixed it for me. I should note that I also nuked my volumes associated to the containers that wouldn’t start…
Looking at the containers that wouldn’t start it was probably related to the volumes since the only ones that wouldn’t start were the ones with volume* mounts.
Is there a workaround for this http: Hijack is incompatible with use of CloseNotifier in same ServeHTTP call issue? I’m able to start containers, but am unable to run commands such as: docker-compose run django python manage.py createsuperuser and since all my data was wiped in this upgrade, it’s hard to get anywhere.
I think you’re running the command, but you’re not seeing any logs. What I did here was after I ran docker-compose up, I attached to each container which I care about the logs individually
I tried answering the prompts that should be visible, but no dice. I ended up downgrading to the previous version and I’m back in business. Thanks though!
Downgrading worked. It also looks like the update has been pulled as version 1.12.0-rc2-beta17 (build: 9779) is now telling me I have the most recent version.