I was trying to execute the lab exercises for the DO180 course. When I tried to execute the following command:
sudo podman run --name persist-db \ > -d -v /var/local/mysql:/var/lib/mysql/data \ > -e MYSQL_USER=user1 -e MYSQL_PASSWORD=mypa55 \ > -e MYSQL_DATABASE=items -e MYSQL_ROOT_PASSWORD=r00tpa55 \ > rhscl/mysql-57-rhel7
Since I am revisiting this exercise the container was already built. Hence I had to remove it first for which i Used the podman remove command. After using this command It gave me an error:
user namespaces are not enabled in /proc/sys/user/max_user_namespaces.
Is disabling user namespaces related to the concept of rootless containers?. If yes then how do I resolve this error so that I can continue with the exercise.