Problems with apt-get in docker containers, in manjaro distributions

Hello, I’m having a big delay in the docker containers that run apt-get update or install, through the dockerfile, even if I set the DNS in the docker to as a test, I have had a time of 30 min for the container to succeed find the update packages, I think it may be some blockage in manjaro, since the tests in ubuntu distributions, the installation time of containers is normal.

Do you know what might be happening?

Operating System: Manjaro Linux
KDE Plasma Version: 5.22.3
KDE Frameworks Version: 5.84.0
Qt Version: 5.15.2
Kernel Version: 5.10.52-1-MANJARO (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-10510U CPU @ 1.80GHz
Memory: 15.4 GiB of RAM
Graphics Processor: Intel® UHD Graphics Desktop

 Context: default
 Debug Mode: false
  app: Docker App (Docker Inc., v0.9.1-beta3)
  buildx: Build with BuildKit (Docker Inc., v0.5.1-tp-docker)

 Containers: 19
  Running: 4
  Paused: 0
  Stopped: 15
 Images: 441
 Server Version: 20.10.7
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: false
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: systemd
 Cgroup Version: 2
  volume: location
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file location logentries splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 io.containerd.runtime.v1.linux runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 36cc874494a56a253cd181a1a685b44b58a2e34a.m
 runc version: v1.0.1-0-g4144b638
 init version: de40ad0
 Security Options:
   Profile: default
 Kernel Version: 5.10.52-1-MANJARO
 Operating System: Manjaro Linux
 OSType: linux
 Architecture: x86_64
 CPUs: 8
 Total Memory: 15.4GiB
 Name: feliperocha
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 experimental: false
 Insecure Registries:
 Live Restore Enabled: false

Manjaro does not block anything.

The default network configuration is using NetworkManager.

Have you tried running a traceroute inside your container - as this will most likely tell you where the bottleneck is?

A quick search reveal it is probably an issue with your docker config.

Thanks for the help linux-aarhus, the problem was actually in docker-compose, when I installed docker-compose I followed the docker documentation Install Docker Compose | Docker Documentation → Linux, I removed the entire installation I had made docker and docker-compose, including docker-compose dependencies, and installed it through the pamac manager, docker-compose, and the problem was fixed.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.