We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docker_client = docker.from_env() docker_client .images.build(path="{my-path}", tag="https://dummy:latest", dockerfile="{dockerfile-path})
Using the debugger, we can see it loop on the _post request here:
docker-py/docker/api/build.py
Lines 264 to 271 in 84414e3
The text was updated successfully, but these errors were encountered:
https://dummy:latest is not a valid image tag
Docker image tags can only contain lowercase and uppercase letters, digits, underscores, periods, and dashes. https://docs.docker.com/engine/reference/commandline/tag/
if you are trying to use custom registry, there's no need to add https prefix
Sorry, something went wrong.
fix: validate tag before build using OCI regex (#3191)
a9b5494
Sources: * https://github.com/opencontainers/distribution-spec * https://docs.docker.com/engine/reference/commandline/tag/ Closes #3153. --------- Signed-off-by: Daniel Lombardi <[email protected]>
Successfully merging a pull request may close this issue.
Reproduces
Using the debugger, we can see it loop on the _post request here:
docker-py/docker/api/build.py
Lines 264 to 271 in 84414e3
The text was updated successfully, but these errors were encountered: