cuddly-night-88590
05/18/2023, 1:58 PMdocker ps
or docker image ls
- it just hangs until CTRL+C) . Sometimes even restarting rancher doesn’t fix and I have to reboot the whole computer.
My first theory was that there was a problem with mounting the same host volume to multiple containers in read-write mode, so I made sure that a volume is only getting mounted with write capability on a single container. But that didn’t fix it. Not giving these containers any --cap-add
or weird stuff like that. Also went ahead and purged a good chunk of exited (but not yet deleted) containers as a general cleanup step, but still same problem.
Any ideas?# Terminal 1
docker run -it -e <var1> -e <var2> -v /pathA:/containerPathA:ro -v /pathB:/containerPathB --rm <image>
# Terminal 2
docker run -it -e <var1> -e <var2> -v /pathA:/containerPathA:ro -v /pathC:/containerPathB --rm <image>
# Terminal 3
docker run -it -e <var1> -e <var2> -v /pathA:/containerPathA:ro -v /pathD:/containerPathB --rm <image>
# Terminal 4
docker run -it -e <var1> -e <var2> -v /pathA:/containerPathA:ro -v /pathE:/containerPathB --rm <image>
quick-keyboard-83126
05/19/2023, 12:03 PMrdctl shell
?cuddly-night-88590
05/19/2023, 12:04 PMquick-keyboard-83126
05/19/2023, 12:05 PMtop
.cuddly-night-88590
05/19/2023, 12:07 PMquick-keyboard-83126
05/19/2023, 12:09 PMcuddly-night-88590
05/19/2023, 12:10 PMrdctl shell
open. However, when the runtime hanged, rdctl behaved the same - the shell was unresponsive, and if I tried to open another terminal window to open rdctl, it also hangs. So both docker and rdctl get locked up when this happens. The only commands for these CLIs that don’t hang are the help and version options. Everything else hangs.
Is there any hope in switching runtimes to nerdctl?quick-keyboard-83126
05/22/2023, 2:31 PMcuddly-night-88590
05/22/2023, 3:42 PM