Kloadut/dokku-md-plugin

Cant do create db

Closed this issue · 2 comments

When i try to sudo dokku mariadb:create xyz

i get the following error. Mongodb plugin works fine which means my dokku installations is fine.

2014/07/10 19:05:04 Error response from daemon: Cannot start container 88acfc064c87bf4db2e1c966bae978396d39fac38752bb1b23e0ec83087ff08e: exec: "exit": executable file not found in $PATH

The error is caused by a minor error in the "commands" file.

Edit the "commands" file in your dokku plugin (default: /var/lib/dokku/plugins) directory by going to line 55 and changing:

ID=$(docker run -d kloadut/mariadb exit 0)

to:

ID=$(docker run -d kloadut/mariadb /bin/bash "exit 0")

This should fix the problem.

Perfect - This solved my problem, i had same issue with mysql plugin as well and solve it !