A repository containing our learnings and implementations for the project "Anchor: The Docker Clone" under IEEE-NITK
Currently, the repository stores the (partial) code and requirements for the run
command.
We're using Python 3.8 for the run
command, let's try sticking to that.
- Create a VM either on your system using Virtual-Box, or a cloud VM (preferably) using your free Azure or AWS Student Account.
- Clone the Git repository. How exactly you wish to clone it - whether directly into the VM or into your system and then
scp
it into the VM is upto you. - Build and Install the Linux module
-
cd setup python3 setup.py build python3 setup.py install cd ..
-
- Install the Tabulate module by running
-
pip install tabulate
-
- Run the
anchor_run.py
file according to instructions given in the file. - Run
anchor_ps.py
when a container is running to get the list of running containers.
ubuntu-export.tar
is the base image we would be using for now since it has the Ubuntu filesystem loaded from a running container. You can test your working by running basic commands within the container.
Example:
python3 anchor_run.py run -i ubuntu-export /bin/echo "Hello World"
Should print Hello World and exit.
Example:
python3 anchor_ps.py