Questions tagged [nerdctl]

35 questions
0
votes
0 answers

Rancher Desktop - nerdctl watch command does not work

So I have switched from Docker to Rancher Desktop. License reason! I have added an alias in my terminal profile to docker alias docker="nerdctl" Running docker psworks fine and I get the output. As soon as I run watch docker ps I get the error that…
Steve
  • 17
  • 4
0
votes
0 answers

mysql:5.6 docker image is executing `/docker-entrypoint-initdb.d` on every `nerdctl compose down; nerdctl compose up` how to limit it to first build?

As mentioned above the database is being initialized on every nerdctl compose down; nerdctl compose up? We are trying to spin a test database with some seed data for local testing. The following is the Dockerfile definition FROM mysql:5.6 ENV…
0
votes
0 answers

How to use a reverse proxy with Nerdctl

I have been trying to setup Nginx in a container using Nerdctl and it doesn't work because of some slight differences with the way Nerdctl handles DNS. Forcing that is getting involved, so I've looked into using Traefik instead but that fails as it…
QueueHammer
  • 10,515
  • 12
  • 67
  • 91
0
votes
0 answers

How to pull docker image with nerdctl, Error Access Denied

I installed nerdctl (and later docker for tests) on different Windows-systems to use docker container. When pulling an image the layers are loaded. Only problem is an consistent error "Zugriff verweigert" (english translation "access…
finder2
  • 842
  • 1
  • 11
  • 30
0
votes
1 answer

Bad Gateway for Nginx Proxy Manager in Nerdctl when target is reachable from proxy container

I have Nginx Poxy Manager and a helloworld-http container running in the same bridged network. A proxy host has been setup for some domain to hit the proxy server, and it's configured to hit the hello server inside the bridged network. Inside the…
QueueHammer
  • 10,515
  • 12
  • 67
  • 91
0
votes
1 answer

How to push images to private registry pod with nerdctl

I have created 3 node k8s cluster as show below with containerd as runtime using kubespray Note: No docker binary is running on nodes. get no -o wide NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE …
KHEMRAJD
  • 41
  • 4
0
votes
0 answers

nerdctl run `no such file or directory` when running inside a pod

I have a Pod apiVersion: v1 kind: Pod metadata: labels: app: ... name: ... spec: containers: - name: ... image: ... securityContext: privileged: true runAsUser: 0 volumeMounts: - mountPath:…
areller
  • 4,800
  • 9
  • 29
  • 57
0
votes
0 answers

Attempting to run a bind9 server using containerd and nerdctl and my instance refuses to listen on port 53

I'm attempting to run bind9 on my system to mess with DNS, with the plan to get this setup the same way on a rpi and host it in my network at home. The service starts up just fine according to logs and can even perform DNS lookups using my…
0
votes
1 answer

nerdctl compose error: FATA[0000] error while creating container portainer: exit status 1

I am running lima on a M1 mac with OSX Ventura. I have a docker compose file that works perfectly when I try to run it with docker cli. docker-compose: version: "3.8" services: portainer: container_name: portainer image:…
Dblock247
  • 6,167
  • 10
  • 44
  • 66
0
votes
1 answer

Kubernetes can't find locally built containerd images

I'm running an on-premise K8s cluster. The problem is Kubernetes doesn't see the locally built container images, despite the images being visible in the k8s.io namespace - tested both with nerdctl --namespace=k8s.io images and crictl images…
0
votes
0 answers

MacOS where does lima nerdctl store container and images

does someone now where containerd & lima (see https://medium.com/nttlabs/containerd-and-lima-39e0b64d2a59) stores the images and containers on MacOS For docker as far as i remember it was ~/Library/Containers/com.docker.docker, but i cannot find…
mafra
  • 1
  • 1
0
votes
1 answer

How can I solve this error, b'/bin/bash: line 1: nerdctl: command not found\n'?

I have written a python script to run the commands to execute nerdctl shell commands using subprocess, res = subprocess.run( f"nerdctl --host '/host/run/containerd/containerd.sock' --namespace k8s.io commit {container} {image}", …
0
votes
0 answers

While running command nerdctl run after building an image getting error : Starting the development server... node:

I tried to add system variable path for powershell but it is same as it is. I think its error related to powershell but not sure about Starting the development server... node: this.events:491 throw er; // Unhandled 'error' event ^ Error:…
0
votes
0 answers

"Too many open files" error during backward ingest of data in influxdb v2 on rootless containerd

I am trying to figure out how resource limits in rootless container environments are handled. I am running influxdb:latest (tried :alpine as well) as a rootless container with nerdctl and containerd an an up-to-date ubuntu host. While all other…
0
votes
0 answers

How to run container in container with rancher-desktop>

I am running Rancher-Desktop over Ubuntu:22.04, retooling Docker in replacement of Rancher Desktop. Every works perfectly except, in the past where Docker allows me to run DinD (Docker in Docker) by mounting the docker.sock -v…
Gavin Yap
  • 642
  • 12
  • 26