Created
November 19, 2015 14:56
-
-
Save michaelshobbs/c819644c0a045d214c08 to your computer and use it in GitHub Desktop.
dokku named-containers debug
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-----> Running post-deploy | |
remote: + APP=my-cool-guy-test-app | |
remote: + APP_ROOT=/home/dokku/my-cool-guy-test-app | |
remote: ++ stat -t /home/dokku/my-cool-guy-test-app/CONTAINER.web.1 | |
remote: + [[ -z /home/dokku/my-cool-guy-test-app/CONTAINER.web.1 65 8 81b4 1000 1000 fc00 1570552 1 0 0 1447944429 1447944429 1447944429 0 4096 ]] | |
remote: + for container in '"$APP_ROOT"/CONTAINER.*' | |
remote: + echo -n '/home/dokku/my-cool-guy-test-app/CONTAINER.web.1 ' | |
remote: + cat /home/dokku/my-cool-guy-test-app/CONTAINER.web.1 | |
/home/dokku/my-cool-guy-test-app/CONTAINER.web.1 81946dadb6f8bd06fd244108711fdb23616faeeaca03de7f0ac6dd7726525555 | |
remote: + docker ps -a | |
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES | |
81946dadb6f8 dokku/my-cool-guy-test-app:latest "/bin/sh -c 'npm star" 6 seconds ago Up 5 seconds 3000/tcp, 3001/udp, 3003/tcp reverent_easley | |
457a4b125d77 8eacbe42ca27 "/start web" About a minute ago Exited (143) 40 seconds ago my-cool-guy-test-app.web.1.1447944327 | |
33f8ea4adfd1 dokku/node-js-app:latest "/start worker" 4 minutes ago Up 4 minutes node-js-app.worker.1 | |
debcee91543f dokku/node-js-app:latest "/start web" 4 minutes ago Up 4 minutes 0.0.0.0:32782->5000/tcp node-js-app.web.1 | |
remote: ++ sed -r 's/.*CONTAINER\.(.*)/\1/' | |
remote: ++ echo /home/dokku/my-cool-guy-test-app/CONTAINER.web.1 | |
remote: + DYNO=web.1 | |
remote: + NAME=my-cool-guy-test-app.web.1 | |
remote: ++ docker ps -a -q -f name=my-cool-guy-test-app.web.1 | |
remote: + PREVIOUS=457a4b125d77 | |
remote: + [[ -n 457a4b125d77 ]] | |
remote: ++ date +%s | |
remote: + docker rename my-cool-guy-test-app.web.1 my-cool-guy-test-app.web.1.1447944429 | |
remote: Error response from daemon: no such id: my-cool-guy-test-app.web.1 | |
remote: Error: failed to rename container named my-cool-guy-test-app.web.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment