I just tried to rebuild my container and hit the following error :
# ./launcher rebuild myforum
Ensuring launcher is up to date
Fetching origin
Launcher is up-to-date
Stopping old container
+ /usr/bin/docker.io stop -t 10 myforum
myforum
cd /pups && git pull && /pups/bin/pups --stdin
Unable to find image '10.0.42.1:latest' locally
Pulling repository 10.0.42.1
FATA[0001] Error: image library/10.0.42.1:latest not found
cat: cids/myforum_bootstrap.cid: No such file or directory
docker: "rm" requires a minimum of 1 argument. See '/usr/bin/docker.io rm --help'.
rm: cannot remove ‘cids/myforum_bootstrap.cid’: No such file or directory
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one
I tracked this down to launcher#L78-L80
On my machine I get :
$ ip addr show docker0
3: docker0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
link/ether 56:84:7a:fe:97:99 brd ff:ff:ff:ff:ff:ff
inet 172.17.42.1/16 scope global docker0
valid_lft forever preferred_lft forever
inet 10.0.42.1/16 scope global docker0
valid_lft forever preferred_lft forever
$ ip addr show docker0 |grep 'inet ' | awk '{ split($2,a,"/"); print a[1] }'
172.17.42.1
10.0.42.1
which makes the launcher#L499 line fail badly with the cryptic error message above :
Here are some info about my system :
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.4 LTS
Release: 14.04
Codename: trusty
$ aptitude show docker.io | grep ^Version
Version: 1.6.2~dfsg1-1ubuntu4~14.04.1
docker is used exclusively to run discourse.
I’m using discourse since more than a year, and have successfullly run launcher rebuild
in the past. I just hit this issue today, trying to update my container.