docker
Command: docker
Syntax
phala docker [options] [command]
Description
The phala docker
command is used to your Docker images. Using this tool is optional, and it is okay to use the native docker CLI instead.
Usage: phala docker [options] [command]
Login to Docker Hub and manage Docker images
Options:
-h, --help display help for command
Commands:
login [options] Login to Docker Hub
build [options] Build a Docker image
push [options] Push a Docker image to Docker Hub
generate [options] Generate a Docker Compose file
help [command] display help for command
Examples
Display help
phala docker --help
Login to Docker
Note that the login will use the existing docker login session and will not require another login attempt.
phala docker login --username hashwarlock
Build a Dockerfile
Note: During the build process, the logs of the build will be output to a file in the root directory of your project in the
.phala-cloud/logs/
folder.
phala docker build
Push Docker Image to Docker Hub
phala docker push --image hashwarlock/elizas:v0.0.1o
Generate a Basic Docker Compose File
phala docker generate --image elizas --tag v0.0.1o -e .env
Last updated
Was this helpful?