Questions tagged [docker-tag]

32 questions
0
votes
1 answer

Fabric8 Docker Maven Plugin: How to tag just one image? docker:tag

When I use docker:tag of Fabric.io's docker-maven-plugin, it tags all my images: [INFO] --- docker-maven-plugin:0.40.2:tag (tag-latest) @ tracker-service-app --- [INFO] DOCKER> Tagging image dacadoo/db-with-data:latest successful! [INFO] DOCKER>…
Ondra Žižka
  • 43,948
  • 41
  • 217
  • 277
0
votes
1 answer

Need a way to build container image only if commit message contains specific text

I have made a github repo for a assignment. The basic requirement is that I have to create a new repo Build a Docker Image from it And push that Docker Image to the Docker Hub on my account in a public repo using Github Actions. I want to build the…
0
votes
0 answers

Add node.js project version as Docker tag in package.json script (or Dockerfile)

I have the following package.json in my Node.js project with following scripts. { "name": "app", "version": "1.1.0", "private": true, "scripts": { "dev": "next dev", "build": "next build", "start": "next start", …
AlexZeDim
  • 3,520
  • 2
  • 28
  • 64
0
votes
1 answer

Tag digest to docker image when re-tagging registry

We have two URLs for our registry: one internal in our VPC and one external for customers pulling our images. We switched to a digest based reference system, so we pull images by their sha256 digests. Now we also want to give customers the option to…
Philipp Stephan
  • 372
  • 5
  • 17
0
votes
0 answers

how to dynamically changing image name & tags on kustomize.yaml using github actions?

if i have my kustomize.yaml file here : apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization images: - name: nix/image newName: nix/image2 newTag: latest and i want to dynamically change the values of the new generated image & tags…
0
votes
1 answer

Naming policies for Azure Container Registries (ACR) artefacts

We (mostly) push docker images (containing maven builds) with semantic version tags to our Azure Container Registry (ACR), e.g. my-cool-app:1.0.0-SNAPSHOT. As in the maven-world suggested, a SNAPSHOT is a work in progress built, which may or may not…
sl3dg3
  • 5,026
  • 12
  • 50
  • 74
0
votes
1 answer

Are tags exclusive to one image in a Docker repo?

I thought that tags in Docker worked like in stackoverflow where millions of questions can be tagged with the same tag. But when I tag a second image in Docker the first one loses its tag: So are images to tags one-to-many, i.e. one image can have…
sashoalm
  • 75,001
  • 122
  • 434
  • 781
0
votes
1 answer

Remove ECR image tag despite ImageReferencedByManifestList error

I would like to be able to delete an ECR image tag but without deleting the underlying image itself. The use case is a temporary tag that was used just to push an image, which was then referenced as part of a manifest list, and needs to be…
Sam Salisbury
  • 1,066
  • 11
  • 19
0
votes
2 answers

Confused with the concept of docker tags

I am going through a books and came across this line: Whereas a tag can only be applied to a single image in a repository, a single image can have several tags. For example, the Java repository on Docker Hub maintains the following tags: 7, 7-jdk,…
Ankit Sahay
  • 1,710
  • 8
  • 14
0
votes
1 answer

Iam tagging an image, after pulling it from Dockerhub

Iam tagging an image, after pulling it from Dockerhub. the tag here takes the original image tag. so my Question is how to add the word (local_) before the tag. def tag_images(images, image_names): print('====Tagging Images====') for image,…
0
votes
1 answer

Deploy docker image to k8s cluster issue

I am trying to deploy docker image to kubernetes but hitting a strange issue. Below is the command i am using in jenkinsfile stage('Deploy to k8s') { steps{ sshagent(['kops-machine']) { sh "scp -o StrictHostKeyChecking=no…
user3770612
  • 1,649
  • 7
  • 20
  • 30
0
votes
3 answers

How can I always pull my latest docker image but still deterministically record its composition for future reproducibility?

I'm doing analytical work inside a "Lab" docker environment which I manage. I use Travis to build, tag and publish the lab image to a docker container registry (AWS ECR) and then always pull latest image when I start the container to do my…
0
votes
1 answer

Getting error while tagging docker image using variable as parameter

I am using below piece of code for building, tagging and pushing the docker image. docker.withRegistry('https://servername', envcred) { def pytunzip = docker.build("servername/${env}/${imgname}:latest", "-f…
0
votes
0 answers

artifactory docker repository how to enable mutable docker image tagginng?

artifactory-xxx.com/dev-docker-local-repo/myapp:image_version1 but I can't push same image again even though it is changed. When I try to push the image it is failing to update it. artifactory-xxx.com/dev-docker-local-repo/myapp:image_version1 does…
maheshs007
  • 27
  • 9
0
votes
3 answers

How can I see all docker Image tags?

I am pretty new to docker and I started playing around with it. I downloaded the latest mongo docker image: docker pull mongo Then I view the image I downloaded (docker images) but the only information i have regarding the version of mongo is the…
GKman
  • 503
  • 1
  • 5
  • 19