craftcms / nitro

Speedy local dev environment for @craftcms.
https://getnitro.sh
MIT License
178 stars 24 forks source link

Error response from daemon: No such image: craftcms/nitro-proxy:2.0.9 #465

Closed ctruett closed 2 years ago

ctruett commented 2 years ago

Description

I cleared out all docker settings, images, containers, (docker system purge -a) and reinstalled. Also removed all nitro settings and reinstalled. When trying to set nitro up again using nitro init I get the following errors:

Checking Nitro…
[check] network ready
[check] volume ready
… creating proxy Error: unable to create proxy container: craftcms/nitro-proxy:2.0.9
Error response from daemon: No such image: craftcms/nitro-proxy:2.0.9

Additional info

jasonmccallister commented 2 years ago

Hmmm, can you provide the output of docker image ls? It should pull that image for you automatically, also can you verify you have internet connectivity?

ctruett commented 2 years ago

I definitely have internet capability as this is a remote linode server that I am connecting to with SSH. There aren't currently any firewall entries that would get in the way.

docker image ls doesn't show any entries.

jasonmccallister commented 2 years ago

Does docker pull craftcms/nitro-proxy:2.0.9 work for you?

Then try nitro init?

ctruett commented 2 years ago

We're making progress — thanks for your help. After restarting the docker service nitro init pulled some of images, but not all of them. I now need to run the docker pull craftcms/$IMAGENAME command to get additional images; for some reason they are not downloaded automatically.

EDIT: Looks like it's working — I'm able to resume development. Thanks @jasonmccallister !

jasonmccallister commented 2 years ago

Interesting use case setting up on a remote linux server? Are you using these for local dev or staging (just curious, no need to answer)?

Glad we got it working though! What version/distro are you running?

ctruett commented 2 years ago

I develop and test on the server then push the changes to Fortrabbit for production. I work from several different machines (MacBook Pro, iPad Pro via Blink) and having the entire dev environment remote keeps my local machines clean and I don't have to do any major configuration to resume work from another location. Currently using Ubuntu 21.04.

tmux + mosh + nitro bridge