Questions tagged [containerdctl]
9 questions
4
votes
2 answers
How to pull image from a private repository using containerd?
How to pull images from a private repository using containerd?
I using the below containerd command to pull an image from a private repository, but it's failing with the below error message.
sudo crictl pull qtech/graphql:latest
FATA[0002] pulling…

devops-admin
- 1,447
- 1
- 15
- 26
3
votes
1 answer
Containerd port mapping from host to container
I am new to containerd and trying to run a simple application with Containerd. I am using ctr to access images, containers and tasks.
In case of a Docker I used to give command as docker run -p 8085:8085 imageId:version
This mapped my host to the…

Manzoor
- 111
- 5
2
votes
1 answer
unsupported port number: 0
If we specify single port in dockerfile or docker-compose file like below
sshd:
build: ./backend/mock/sshd
volumes:
- ./docker/sftp_upload_dir:/root/upload_dir
ports:
- '22'. #<----------
and use the docker-compose file…

Akshay Vijay Jain
- 13,461
- 8
- 60
- 73
0
votes
0 answers
Rancher Desktop - Nerdctl --output
I have installed Rancher Desktop.
My Dockerfile looks like this:
FROM amazonlinux:2 AS base
RUN yum install -y python3
...
RUN mkdir /output && venv-pack -o /output/pyspark_deps.tar.gz
FROM scratch AS export
COPY --from=base…

Flo
- 377
- 2
- 15
0
votes
0 answers
Why does `docker image ls` show the same result with `ctr image ls`?
My problem is docker image ls shows some Docker images that do not exist in ctr image ls.
I check with default namespace and k8s namespace, but my Docker images do not exist in ctr image ls.
How can I resolve this problem? When using docker image…

sorosh_sabz
- 2,356
- 2
- 32
- 53
0
votes
0 answers
How to pull an image from a private GCR repository with ctr?
I'm trying to pull an image from a private GCR repository using the following command:
ctr images pull -u `base64 -d <<< $AUTH` $image
And it fails with this output:
ctr: failed to resolve reference "\"type\":": object required
This is while I'm…

Itai Spiegel
- 151
- 1
- 4
- 10
0
votes
0 answers
nerdctl error parsing configuration while trying to run image
I am new to containerD and specially to nerdctl cli so may be there's an easy way to do/debug that ? Most of the tutorial is about to run it on Linux but I am running on Windows
I created a Docker image named: image1, pushed it to Google Artifact…

Alex F
- 3,180
- 2
- 28
- 40
0
votes
1 answer
can I use nerdctl to build Image from inside the cluster
As you all know if we use docker to build image inside container we have to mount "-v /var/run/docker.sock:/var/run/docker.sock", how does nerdctl handle that with container-d ?
I am planning to use nerdctl Instead of kaniko , my workflows changes…

Rajendar Talatam
- 250
- 1
- 12
0
votes
1 answer
Unable to retrieve data from Docker-managed containerd by using containerd-based CLI directly
Here's what I want to accomplish:
Run Docker and be able to manage its images/containers from containerd's API. This is purely an educational exercise.
What I've tried:
Started dockerd
Verified I have a working daemon:
$ docker images
REPOSITORY …

Matt Thalman
- 3,540
- 17
- 26