Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

By Michal Hantl
Hi, I deployed my app to droplet with rails, postgre, docker and dokku.
All was running smoothly, until I restarted the server today and I got into two problems:
One rails app said it was already running. The app said, there was /app/tmp/pids/server.pid file but I couldn’t find the server.pid file in the image though using find / | grep 'server.pid'
Other app couldn’t connect to the postgres, which after an inspection shows that is running on a different port. I tried re-deploying, re-establishing the postgre link through dokku and nothing happened, same error.
Eventually, I restarted the app2 with bad postgre through docker, that made things even worse and I have now two apps that won’t start.
Also I am trying to figure out why the hell I have unnamed images which seem to contain the Rails app and database, even tried to erased them and start fresh, but the deeper I dig, the more weird problems I get.
For instance removing the image says a different image is not there:
root@michal-do:~# docker rmi 44ce0ececdb4
Error response from daemon: No such id: ed09b33bb766f286542a2e7b7a71333bfff409f7bac78e42cf35302e29982a24
2014/10/07 09:10:40 Error: failed to remove one or more images
root@michal-do:~# docker images
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE
<none> <none> 44ce0ececdb4 24 minutes ago 1.264 GB
dokku/fulcrum latest c10d700243b2 4 hours ago 1.242 GB
<none> <none> cc27ac49e4a6 4 hours ago 1.264 GB
postgresql/fondio latest fdf7f34be819 5 hours ago 310.5 MB
postgresql/fulcrum latest dbc9d1eb0ced 7 weeks ago 310.5 MB
<none> <none> cca64120d443 7 weeks ago 310.5 MB
kloadut/postgresql latest 9ed9651b7b98 7 weeks ago 310.5 MB
ubuntu trusty c4ff7513909d 8 weeks ago 225.4 MB
progrium/buildstep latest cbac8f84e925 11 weeks ago 1.151 GB
ubuntu 14.04 e54ca5efa2e9 3 months ago 276.5 MB
I seem to run into some newbie stuff I can’t even google answers for so any help is greatly appreciated.