Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

298
Visualizações
Pushing x:latest which is the same image as x:<semver-version>

I ran this:

docker build -t "oresoftware/live-mutex-broker:1.0.2" .
docker push "oresoftware/live-mutex-broker:1.0.2"

that worked. So how can I can then tag this as latest, and "push" the same image to

docker push "oresoftware/live-mutex-broker:latest"

what's the proper way to do this? My guess is:

docker tag "oresoftware/live-mutex-broker:latest" "oresoftware/live-mutex-broker:1.0.2"

but I don't really know. Nope didn't work, I tried that, and I get:

Error response from daemon: No such image: oresoftware/live-mutex-broker:latest

so maybe switch the operands?

over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

Use the following command to tag the currently created image for online repository

 $ docker tag oresoftware/live-mutex-broker:1.0.2 oresoftware/live-mutex-broker:latest

Then upload the image to docker hub with the command

$ docker push "oresoftware/live-mutex-broker:latest"

Explaination

To tag a docker image you use this pattern:

docker tag <container-image-name> <username>/<repo>:<tag>

And then just remove the <container-image-name> from the above command and replace tag key-word with push to push it to the repository.

docker push <username>/<repo>:<tag>
over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda