Skip to content
New issue

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

Support for docker buildx #18

Open
eliottness opened this issue Jul 10, 2024 · 1 comment
Open

Support for docker buildx #18

eliottness opened this issue Jul 10, 2024 · 1 comment

Comments

@eliottness
Copy link

eliottness commented Jul 10, 2024

Hello 👋

Today, the default way of building images using docker is to use buildx where you need to add the --load flag to the build command if you want to be able run docker push after that. Here are the last line of running a quickstart on a sample repo using a fresh install of docker version 25.

#8 DONE 3.0s

#9 [5/5] COPY . .
#9 DONE 0.2s
WARNING: No output specified with docker-container driver. Build result will only remain in the build cache. To push result image into registry use --push or to load image into docker use --load

-----> Pushing image to Docker registry
The push refers to repository [harbor.XXX.com/library/mtracker]
An image does not exist locally with the tag: harbor.XXX.com/library/mtracker
Cuber: docker push failed
@collimarco
Copy link
Contributor

I use Docker Desktop (engine v27) on MacOS and I cannot reproduce the issue that you describe... It works properly.

Also note that based on documentation there isn't any --load flag for the docker build command.

Can you describe your scenario more precisely and send a pull request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants