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

154
Visualizações
How can I check the local image is up to date with registry image?

I would like to find out the latest timestamp for an image in a private Docker registry using the v2 API without first pulling the image to my local and compare it into local image created date.

Is that possible with script or curl with awk ?

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

0

You can execute the pull command to make sure your local docker repo is up-to-date. If you try pull the image, docker will compare the remote image digest with local image digest. If the digests are equal, docker won't update the image and will say it is up-to-date.

Example below:

    docker pull myrepo/app:v0.1
    car0.1: Pulling from myrepo
    Digest: sha256:cb7b50c26124ffba06fd559fa86751e5fe9b4a49990fc8dbf4dfaf0fb9d58206
    Status: Image is up to date for myrepo/app:v0.1
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