Usage
Subcommands
docker login
Login to Docker Hub.Options
| Flag | Short | Default | Description |
|---|---|---|---|
--username | -u | Docker Hub username | |
--password | -p | Docker Hub password | |
--registry | -r | Docker registry URL |
Examples
docker build
Build a Docker image.Options
| Flag | Short | Default | Description |
|---|---|---|---|
--image | -i | Image name | |
--tag | -t | Image tag | |
--file | -f | Dockerfile | Dockerfile path |
Examples
docker push
Push image to Docker Hub.Options
| Flag | Short | Default | Description |
|---|---|---|---|
--image | -i | Full image name (e.g. username/image:tag) |
Examples
docker generate
Generate a Docker Compose file.Options
| Flag | Short | Default | Description |
|---|---|---|---|
--image | -i | Image name | |
--env-file | -e | Environment file path | |
--output | -o | Output file path | |
--template | Template file path |
Examples
docker run
Run Docker Compose setup.Options
| Flag | Short | Default | Description |
|---|---|---|---|
--compose | -c | Docker Compose file path | |
--env-file | -e | Environment file path | |
--skip-env | true | Skip environment file loading |

