This tutorial will guide you through setting up and running Nanvix inside a Docker container.
Make sure you have Docker installed on your Ubuntu-based or derivative operating system.
Clone the educational version of Nanvix repository using the following command:
git clone https://github.com/nanvix/nanvix.git
cd nanvix
Build the Docker image by executing the following command:
docker build -t nanvix -f docker/ubuntu/Dockerfile .
Create and run a Nanvix container with the following command:
docker run -it --rm nanvix
Open your terminal, click on it, and press the ENTER key repeatedly until the Nanvix shell responds.
You are now set up to explore Nanvix within a Docker container! Feel free to experiment and interact with the Nanvix environment.
Note: The --rm
flag in the docker run
command ensures that the container is automatically removed when it exits.
Happy exploring!