Closed ohardy closed 8 years ago
I think you may have manually stopped the container before attempting to destroy it. If so, you're going to have to manually remove the docker container.
I didn't
Can you replicate this with latest master?
Yep ;) :
$ sudo dokku redis:create test3
-----> Starting container
Waiting for container to be ready
=====> Redis container created: test3
DSN: redis://172.17.0.65:6379/0
$ sudo dokku redis:destroy test3
! WARNING: Potentially Destructive Action
! This command will destroy test3 Redis service.
! To proceed, type "test3"
> test3
-----> Deleting test3
No container exists for test3
Removing data
=====> Redis container deleted: test3
$ sudo dokku redis:create test3
-----> Starting container
Error response from daemon: Conflict. The name "dokku.redis.test3" is already in use by container 25b93a98e247. You have to delete (or rename) that container to be able to reuse that name.
Wtf. Can you run that with dokku trace on
?
Closing as I'm pretty sure this was fixed.
So i removing folder by hand :
Creating again doesn't work :