aime-ml-containers icon indicating copy to clipboard operation
aime-ml-containers copied to clipboard

Pytorch/Tensorflow containers do not open or can not be created after Ubuntu update

Open makjaveli opened this issue 3 years ago • 1 comments

After updating Ubuntu 20.04 with "apt-get upgrade", Tensorflow and Pytorch containers do not work anymore, when trying to open a container with mlc-open or creating a container following error message is outputed:

Error response from daemon: OCI runtime create failed: invalid mount {Destination::/root/.Xauthority Type:bind Source:/var/lib/docker/volumes/b2e9425a4ed3d1c82b21281515efcbc2998da228f4dff15588cd5c7da967dc14/_data Options:[rbind]}: mount destination :/root/.Xauthority not absolute: unknown

makjaveli avatar May 29 '21 12:05 makjaveli

The reason for the error is a change in dockers containerd.io which brakes AIME MLC.

As workaround one can downgrade Ubuntu package of containerd.io to a compatible version with:

sudo apt-get install containerd.io=1.4.4-1
sudo apt-mark hold containerd.io

This should fix it, while we are working on an update to make AIME MLC compatible with the latest containerd.io

kinred avatar May 29 '21 17:05 kinred