dls-controls / dev-c7

A container for running the DLS Controls RHEL7 developer environment on a RHEL8 workstation
Apache License 2.0
0 stars 2 forks source link

Simplify Setup Instructions #29

Open ronaldomercado opened 2 years ago

ronaldomercado commented 2 years ago

I followed the set up instructions and attempted to run the container

I get these errors

$ ./run-dev-c7.sh creating new dev-c7 container 2.0.0 ... Error: vfs driver does not support ignore_chown_errors options Error: no container with name or ID "dev-c7" found: no such container

ronaldomercado commented 2 years ago

I got some help from Michael. We tried editing ~/.config/containers/storage.conf to use driver "overlay" instead of driver "vfs"

There were errors when running podman system reset

$ podman system reset ERRO[0000] User-selected graph driver "overlay" overwritten by graph driver "vfs" from database - delete libpod local files to resolve ERRO[0000] User-selected graph driver "overlay" overwritten by graph driver "vfs" from database - delete libpod local files to resolve Error: vfs driver does not support overlay.mount_program options

Michael will send me a link to an improved setup script that may solve my problems.

ronaldomercado commented 2 years ago

Michael S. helped me to sort the problem out. I first used the setup.sh file from gitlab sscc-collaborative-tools/podman I tested "podman system reset" and that still failed as above

I erased the folders under /scratch//podman and the problems went away.

gilesknap commented 2 years ago

@ronaldomercado this is expected until we get the setup.sh update done.

I tried to allude to that with the warning At the time of writing the podman setup script implements (3) above only. For the moment early adopters will need to apply (1) and (2) manually..

However I then failed to mention that the current workaround is to edit the files - or use the new version of setup.sh from the repo.

I'm re-opening this ticket open as I need to either fix the docs or get @MichaelStubbings setup.sh changes released.

gilesknap commented 2 years ago

Making progress on this with work by Richard Parke here https://jira.diamond.ac.uk/browse/CLOUD-387

Once this is done we can simplify the instructions as these issues will go away.

gilesknap commented 2 years ago

Changed the title to reflect that we need to simplify the instructions once the new podman setup is done.

gilesknap commented 2 years ago

Awaiting this ticket before we can simplify instructions https://jira.diamond.ac.uk/browse/CLOUD-387