Add the ability to enter a running container

This commit is contained in:
Jose Diaz-Gonzalez
2016-08-29 08:19:59 -04:00
parent 5406b4dc07
commit d23b521142
3 changed files with 40 additions and 0 deletions

View File

@@ -21,6 +21,7 @@ redis:clone <name> <new-name> Create container <new-name> then copy data from <
redis:connect <name> Connect via redis-cli to a redis service
redis:create <name> Create a redis service with environment variables
redis:destroy <name> Delete the service and stop its container if there are no links left
redis:enter <name> [command] Enter a running couchdb service or run a command
redis:export <name> > <file> Export a dump of the redis service database
redis:expose <name> [port] Expose a redis service on custom port if provided (random port otherwise)
redis:import <name> <file> Import a dump into the redis service database
@@ -71,6 +72,14 @@ dokku redis:info lolipop --service-root
dokku redis:info lolipop --status
dokku redis:info lolipop --version
# a bash prompt can be opened against a running service
# filesystem changes will not be saved to disk
dokku redis:enter lolipop
# you may also run a command directly against the service
# filesystem changes will not be saved to disk
dokku redis:enter lolipop ls -lah /
# a redis service can be linked to a
# container this will use native docker
# links via the docker-options plugin