Question
MySql container stuck at "Restarting..." on Dokku
Today I tried to create a new mySql database on my Dokku container using
dokku mysql:create bookmarks
The container has been created, but it seems it is unable to start.
The command
dokku mysql:list
always shows
NAME VERSION STATUS EXPOSED PORTS LINKS
bookmarks mysql:5.6.26 restarting - -
I am unable to stop, restart or destroy this DB.
dokku mysql:destroy bookmarks
! WARNING: Potentially Destructive Action
! This command will destroy bookmarks MySQL service.
! To proceed, type "bookmarks"
> bookmarks
-----> Deleting bookmarks
Deleting container data
! Service is already stopped
Removing container
Error response from daemon: Conflict, You cannot remove a running container. Stop the container before attempting removal or use -f
Error: failed to remove containers: [dokku.mysql.bookmarks]
I also tried to reboot the entire droplet, without any success.
Can anyone help me solving this problem?
Thank you in advance,
Simone
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×