So I wanted to get systemctl working on the docker container for an assignment so I used the command:
docker run --privileged -ti -e container=docker -v /sys/fs/cgroup:/sys/fs/cgroup s3696653/usap-a1 usr/sbin/init
Everything worked well, but I haven't fully read the spec and we are not supposed to use systemctl. So I stopped the container and tried to run the container like normal using:
docker run -i -t s3696653/usap-a1
But it no longer works. I get the error:
Failed to mount tmpfs as /run: Operation not permitted
[!!!!!!] Failed to mount API filesystems, freezing.
What can I do to get it running with the normal run command? Thanks in advance.