Skip to main content
added 173 characters in body
Source Link
felher
  • 111
  • 7

I'm having trouble debugging a docker issue. On my machine as host, every apt/apt-get/apt-cache command in the debian:jessie image hangs and I can't figure out why.

On other machines with docker, when I run (for example)

docker run --rm debian:jessie apt list

it takes a few seconds but then the list pops up. On my machine, it just hangs forever (> 30 minutes) and uses a full CPU core.

Any ideas on how to debug this problem?

I'm on a fedora 35 (x86_64) with recent and decent hardware. I've already

  • tried to run different commands - all take a CPU core and freeze. I tried at least apt update, apt upgrade, apt list, apt show apt, apt-cache showpkg apt and certainly a few more I can't remember
  • tried to disable selinux via setenforce 0 on the host, to no effect
  • tried to take the network away via the --network none arguments to docker, to no effect
  • updated my fedora host system, to no effect
  • checked that the docker-ce version is the latest stable - it is
  • tried it with docker run --rm debian:latest apt list (i.e. the latest debian) - this works, but I need the old one (jessie, not latest)
  • tried to stop the fedora firewall via systemctl stop firewalld.service and restart the docker daemon via systemctl restart docker (thanks @rubynorails), to no effect

Any ideas on how to go from here?

I'm having trouble debugging a docker issue. On my machine as host, every apt/apt-get/apt-cache command in the debian:jessie image hangs and I can't figure out why.

On other machines with docker, when I run (for example)

docker run --rm debian:jessie apt list

it takes a few seconds but then the list pops up. On my machine, it just hangs forever (> 30 minutes) and uses a full CPU core.

Any ideas on how to debug this problem?

I'm on a fedora 35 (x86_64) with recent and decent hardware. I've already

  • tried to run different commands - all take a CPU core and freeze. I tried at least apt update, apt upgrade, apt list, apt show apt, apt-cache showpkg apt and certainly a few more I can't remember
  • tried to disable selinux via setenforce 0 on the host, to no effect
  • tried to take the network away via the --network none arguments to docker, to no effect
  • updated my fedora host system, to no effect
  • checked that the docker-ce version is the latest stable - it is
  • tried it with docker run --rm debian:latest apt list (i.e. the latest debian) - this works, but I need the old one (jessie, not latest)

Any ideas on how to go from here?

I'm having trouble debugging a docker issue. On my machine as host, every apt/apt-get/apt-cache command in the debian:jessie image hangs and I can't figure out why.

On other machines with docker, when I run (for example)

docker run --rm debian:jessie apt list

it takes a few seconds but then the list pops up. On my machine, it just hangs forever (> 30 minutes) and uses a full CPU core.

Any ideas on how to debug this problem?

I'm on a fedora 35 (x86_64) with recent and decent hardware. I've already

  • tried to run different commands - all take a CPU core and freeze. I tried at least apt update, apt upgrade, apt list, apt show apt, apt-cache showpkg apt and certainly a few more I can't remember
  • tried to disable selinux via setenforce 0 on the host, to no effect
  • tried to take the network away via the --network none arguments to docker, to no effect
  • updated my fedora host system, to no effect
  • checked that the docker-ce version is the latest stable - it is
  • tried it with docker run --rm debian:latest apt list (i.e. the latest debian) - this works, but I need the old one (jessie, not latest)
  • tried to stop the fedora firewall via systemctl stop firewalld.service and restart the docker daemon via systemctl restart docker (thanks @rubynorails), to no effect

Any ideas on how to go from here?

`docker run --rm debian:jessie apt update` does not work on specificFedora host

deleted 5 characters in body
Source Link
felher
  • 111
  • 7

I'm having trouble debugging a docker issue. On my machine as host, every apt/apt-get/apt-cache command in the debian:jessie image hangs and I can't figure out why.

On some other machines with docker, when I run (for example)

docker run --rm debian:jessie apt list

it takes a few seconds but then the list pops up. On my machine, it just hangs forever (> 30 minutes) and uses a full CPU core.

Any ideas on how to debug this problem?

I'm on a fedora 35 (x86_64) with recent and decent hardware. I've already

  • tried to run different commands - all take a CPU core and freeze. I tried at least apt update, apt upgrade, apt list, apt show apt, apt-cache showpkg apt and certainly a few more I can't remember
  • tried to disable selinux via setenforce 0 on the host, to no effect
  • tried to take the network away via the --network none arguments to docker, to no effect
  • updated my fedora host system, to no effect
  • checked that the docker-ce version is the latest stable - it is
  • tried it with docker run --rm debian:latest apt list (i.e. the latest debian) - this works, but I need the old one (jessie, not latest)

Any ideas on how to go from here?

I'm having trouble debugging a docker issue. On my machine as host, every apt/apt-get/apt-cache command in the debian:jessie image hangs and I can't figure out why.

On some other machines with docker, when I run (for example)

docker run --rm debian:jessie apt list

it takes a few seconds but then the list pops up. On my machine, it just hangs forever (> 30 minutes) and uses a full CPU core.

Any ideas on how to debug this problem?

I'm on a fedora 35 (x86_64) with recent and decent hardware. I've already

  • tried to run different commands - all take a CPU core and freeze. I tried at least apt update, apt upgrade, apt list, apt show apt, apt-cache showpkg apt and certainly a few more I can't remember
  • tried to disable selinux via setenforce 0 on the host, to no effect
  • tried to take the network away via the --network none arguments to docker, to no effect
  • updated my fedora host system, to no effect
  • checked that the docker-ce version is the latest stable - it is
  • tried it with docker run --rm debian:latest apt list (i.e. the latest debian) - this works, but I need the old one (jessie, not latest)

Any ideas on how to go from here?

I'm having trouble debugging a docker issue. On my machine as host, every apt/apt-get/apt-cache command in the debian:jessie image hangs and I can't figure out why.

On other machines with docker, when I run (for example)

docker run --rm debian:jessie apt list

it takes a few seconds but then the list pops up. On my machine, it just hangs forever (> 30 minutes) and uses a full CPU core.

Any ideas on how to debug this problem?

I'm on a fedora 35 (x86_64) with recent and decent hardware. I've already

  • tried to run different commands - all take a CPU core and freeze. I tried at least apt update, apt upgrade, apt list, apt show apt, apt-cache showpkg apt and certainly a few more I can't remember
  • tried to disable selinux via setenforce 0 on the host, to no effect
  • tried to take the network away via the --network none arguments to docker, to no effect
  • updated my fedora host system, to no effect
  • checked that the docker-ce version is the latest stable - it is
  • tried it with docker run --rm debian:latest apt list (i.e. the latest debian) - this works, but I need the old one (jessie, not latest)

Any ideas on how to go from here?

deleted 4 characters in body
Source Link
felher
  • 111
  • 7
Loading
Source Link
felher
  • 111
  • 7
Loading