Questions tagged [docker-registry]

Docker Registry is a service which you can push Docker images to for storage and sharing. It is also the tool's name.

Docker registry services are provided as hosted or self-hosted services by various vendors:

Self-hosted:

Hosted

All of them comply either to v1 or v2 of the Docker registry API specification.

Docker Registry tool is at https://github.com/docker/docker-registry.

1698 questions
0
votes
1 answer

Run Multiple Commands In Dockerfile

I want to run the booksServer first, then the customersServer, then fire main.js But before firing off main.js I want to make sure that customersServer and booksServer are running first. How do I do this properly? Here's my dockerfile now FROM…
TheRoadLessTaken
  • 531
  • 2
  • 7
  • 15
0
votes
2 answers

Execute command inside docker image and save it in Jenkinsfile

I am working on Jenkins file which is pulling docker image and execute some command inside this docker image then after I want to save this image and push it into AWS ECR. in here execute commands inside a docker container and push the docker image…
0
votes
1 answer

Can One Container use the file of another Container?

Basically I have a main directory and Books Directory (General file structure, there's more but these are the important pieces). So when I fire a request from main to booksServer, it doesn't work because the node modules are missing. That's because…
0
votes
0 answers

Why does CMD Command generate a new layer?

All. I have one question about Docker Layer images. I think that RUN, ADD, COPY, CMD commands generate a new layer. However, I wonder why CMD command generates a new layer. For example, I understand that "ADD hoge.txt /var/tmp" requires a layer…
0
votes
1 answer

gitalb CI: x509: certificate signed by unkown authority while accessing private docker registry

Can't login to my private docker registry from the gitlab-ci. Scenario: gitlab CE omnibus installation, the registry is inside the gitlab. gitlab-runner with docker executor running as container in a docker swarm cluster gitlab-runner has a ca.crt…
Joao Vitorino
  • 2,976
  • 3
  • 26
  • 55
0
votes
1 answer

how to find image manifest of Fluentd docker image for AWS ecr put-image

Team, I am trying to upload Fluentd image to AWS ecr and getting error. I have below images and tagged. docker images | grep fluent 123.dkr.ecr.us-west-1.amazonaws.com/sre-tools/fluentd-ds latest b285a4690f19 5…
AhmFM
  • 1,552
  • 3
  • 23
  • 53
0
votes
1 answer

Gitlab pipeline access to docker repo?

gitlab installed in linux machine and pipeline failed because it doesn't have access to docker reposatory docker repo inside gitlab with the below error ERROR: Preparation failed: Error response from daemon: Get…
0
votes
1 answer

K8s - Cannot access service/clusterIP from another node

I am trying to access(from worker node) a pod(on worker node) via a service/ClusterIP using curl http://cluster_ip:port_no but it isn't working. Here's some info on service masternode@Master:/localdocker$ kubectl describe svc registry Name: …
Aakash Verma
  • 3,705
  • 5
  • 29
  • 66
0
votes
0 answers

is it possible to write a dockerfile without registry in FROM statements?

For example, I have a base dockerfile: FROM mcr.microsoft.com/dotnet/core/sdk:3.1 ... which I build docker build -t my-base, then build a second dockerfile: FROM my-base ... which works because my-base is available locally. However, if I push…
Dave Higgins
  • 155
  • 1
  • 1
  • 8
0
votes
0 answers

Kubernetes deployment status ImagePullBackOff

when I’m trying to pull a docker image, it throws this error ImagePullBackOff NAME READY STATUS RESTARTS AGE mynodeappdeployment-77b96f978f-zz9kh 0/1 ErrImagePull 0 …
0
votes
1 answer

How to Get All Tags from Docker Hub (Private Repositories) as Shell Script

I have one shell script when i execute it showing only 64 tags from 300 tags docker hub. Here is the below command which i'm executing in shell script through curl. IMAGE_TAGS=$(curl -s -H "Authorization: JWT ${HUB_TOKEN}…
Mohd Rashid
  • 65
  • 1
  • 10
0
votes
0 answers

Gitlab CI push to docker-registry fails

I have GitLab server and a separate docker-registry. I have created a testuser with a testpassword. My .gitlab-ci.yml image: docker:latest services: - docker:18.09.7-dind variables: DOCKER_HOST: tcp://docker:2375/ DOCKER_DRIVER:…
0
votes
1 answer

docker compose pushing to docker hub

I have a docker-compose file which has 3 services, the yaml file works but how do i push this into registry as a single image and retrieve this is AWS Fargate so it spins up container ? What are my options to spin up multiple containers as images…
sks123245
  • 149
  • 1
  • 2
  • 13
0
votes
1 answer

what is the best practicies of storing images in container registry

I need different images for dev,stage, and prod environments, how should I store images in dokckerhub? should I use tags my_app:prod my_app:dev my_app:stage or maybe include env name in image like this my_app_stage my_app_stage my_app_stage
0
votes
1 answer

How to use private docker registry instead of docker hub?

We need to pull all our base images form a private docker registry. Is pulling the image from docker hub and pushing it to the private registry the only option to achieve the above requirement. Also how to pass credentials of my private registry…