dxw/local-env

brew install docker-compose

dragon-dxw opened this issue · 10 comments

Expected by rails-template's script/bootstrap

Isn't it installed by installing the Docker app?

I had to install it manually after installing local-env, so I assume not.

@yndajas @snim2 Did you get Docker Compose with your Docker? Can we close this, or is there an action here?

I think I also installed it manually - it comes up as a suggestion (from my history) when I type brew install d

snim2 commented

I messed around with docker a fair bit, so I can't be totally sure, but if I get five minutes I'll remove docker-compose and run local-env again and report back.

So docker-compose is definitely a Homebrew package, but Docker Desktop (the Homebrew cask as opposed to docker the normal formula) is supposed to ship docker-compose with it. @yndajas if you do brew leaves does docker or docker-compose show up in the list?

Yep, docker-compose does

adr-tools
awscli
composer
direnv
docker-compose
dxw/tap/whippet
geckodriver
git
heroku/brew/heroku
imagemagick
jq
mas
mysql
nano
nodenv
poetry
postgresql@14
pyenv
rbenv
redis
shellcheck
starship
subversion
tfenv
tflint
unzip
yarn
zsh
snim2 commented

So, I think a few people have found that Docker only works sensibly if it's installed via self-service, and not via the local-env scripts. The self-service version of Docker does come with docker-compose, but probably what's needed to resolve this issue is either to find a command-line way of installing things via self-service, and move Docker to that, or to just advise the user to run self-service directly.

So, I think a few people have found that Docker only works sensibly if it's installed via self-service, and not via the local-env scripts. The self-service version of Docker does come with docker-compose, but probably what's needed to resolve this issue is either to find a command-line way of installing things via self-service, and move Docker to that, or to just advise the user to run self-service directly.

I reran this script after wiping my laptop a week and a bit ago and I've had no problems with Docker so far 🤔

I reran this script after wiping my laptop a week and a bit ago and I've had no problems with Docker so far 🤔

Update: failed on mine and D+ Pat's devices too now