Herokuish update fails if existing herokuish is used by other containers, using docker build --pull will force to update also the base image. Setting up herokuish (0.3.28) ... Removing old herokuish image Failed to remove image (gliderlabs/herokuish): Error response from daemon: conflict: unable to remove repository reference "gliderlabs/herokuish" (must force) - container dbf2298ab5a5 is using its referenced image 7d4a8d661476 Importing herokuish into docker (around 5 minutes)
15 lines
306 B
Bash
15 lines
306 B
Bash
#!/usr/bin/env bash
|
|
set +o posix # rpm uses /bin/sh that forces bash in posix mode
|
|
|
|
main() {
|
|
echo 'Starting docker'
|
|
systemctl start docker
|
|
|
|
sleep 5
|
|
|
|
echo 'Importing herokuish into docker (around 5 minutes)'
|
|
sudo docker build --pull -t gliderlabs/herokuish /var/lib/herokuish 1> /dev/null
|
|
}
|
|
|
|
main
|