Update README.md

This commit is contained in:
Korbs 2024-12-11 12:27:54 -05:00
parent f376feda30
commit fffa8fc118

View file

@ -58,10 +58,8 @@ htpasswd -bnB MyUsername MyPassword > ./htpasswd
> If you don't plan to use this, remove the `htpasswd` line from the `config.json` file. > If you don't plan to use this, remove the `htpasswd` line from the `config.json` file.
## Usage ## Uploading to your Zot Registry
### Building Docker Image Zot seems to be setup to accept OCI images, not the Docker format, so using `docker push` won't work.
Zot seems to be setup to accept OCI images, not the Docker format, so using `docker push` won't work. You can use `skopeo` to push, after you save the Docker image as a tar.
To build and push a Docker image to your Zot registry, I recommend using the Buildah command line tool. To build and push a Docker image to your Zot registry, I recommend using the Buildah command line tool.