Check out the source video where they discuss how to design a container and how to implement it from ground.
Play along by downloading the code (will only work on Unix/Linux system):
git clone https://github.com/debarshee2004/containers-from-scratch.git
cd containers-from-scratchRunning the application:
go build main.go# Run a bash shell in the container
./container run /bin/bash
# Run a specific command
./container run /bin/sh -c 'echo Hello from container'
# Show help
./container help