CLI Configuration
Configuration Options
endpoint="http://127.0.0.1:3000"
Available Commands
- create
- list
- start
- stop
- delete
Create
Creates a new container with the specified name and version
pocketsctl create test-1
Args
name | optional | description |
---|---|---|
name | true | the name for the container to create |
List
Displays a list of existing containers as well as their status (i.e. for how long they have been running)
pocketsctl list
Start
Starts the specified container
pocketsctl start <id_of_the_container>
Args
name | optional | description |
---|---|---|
id | true | the id of the container to start |
Stop
Stops the specified container
pocketsctl stop <id_of_the_container>
Args
name | optional | description |
---|---|---|
id | true | the id of the container to stop |
Delete
Delete the specified container
pocketsctl delete <id_of_the_container>
Args
name | optional | description |
---|---|---|
id | true | the id of the container to delete |
—force | true | skips asking for confirmation before deleting the container |