# Operating Systems Lab Docker Image ## Introduction This Docker image is designed to help first-year university students in operating systems courses set up a consistent environment for laboratory practices. It includes essential tools like C developer utilities, editors, debugging aids, Git for version control, and a welcoming environment tailored for beginners. ## What is Docker? Docker is a platform for building, packaging, and running applications in lightweight containers. Containers are isolated environments, ensuring software runs the same across different computers. This helps students avoid setup hassles and dive directly into practical learning. ## How to Install Docker Install Docker with: 1. Visit [https://www.docker.com/products/docker-desktop](https://www.docker.com/products/docker-desktop) 2. Download Docker Desktop. 3. Follow the installation steps. 4. Verify with: ``` docker --version ``` See Docker documentation for more details. ## How to Run the Operating Systems Lab Image Run the lab image with: ```sh docker run -it opobla/my-sog:latest ``` This launches an interactive environment as the `student` user. ### How to Bind External Folders To work with files from your computer in the container, mount a host directory: ```sh docker run -it -v /path/on/host:/home/student opobla/my-sog:latest ``` - `/path/on/host` is any folder on your computer. - `/home/student` is the directory inside the container. To use the current directory: ```sh docker run -it -v $(pwd):/home/student opobla/my-sog:latest ``` Files edited in `/home/student` inside the container are synchronized with your host folder. *** All lab tools, editors, version control, and easy sharing are included, ensuring students can immediately start hands-on operating systems exercises.