diff --git a/.github/workflows/Container_README.md b/.github/workflows/Container_README.md index 73299d7..5c5e67d 100644 --- a/.github/workflows/Container_README.md +++ b/.github/workflows/Container_README.md @@ -23,3 +23,39 @@ 6. Scroll down and press start container to start the container. \ *This assumes that Podman desktop app is installed and a Podman machine is created and configured ## Podman CLI + +1. Build the container image from the Dockerfile using the command: +```` +podman build -f /path/to/Dockerfile -t image_name . +```` +where /path/to/Dockerfile is the path to the Dockerfile located in .github/workflows and image_name is the desired name for the container image. + + + +2. Once the image is built, you can list it using: + +podman images + +3. To create a container from the image, run: + + +```` +podman run -it --name container_name -v /path/to/pymgm:/app image_name +```` + +3. Replace container_name with the desired name for your container, image_name with the name of the image you created earlier, +and /path/to/pymgm with the path to your pymgm repo on the host machine.* + +*If running using a WSL or gitbash on a Windows machine be sure to add an extra ' \ ' for every ' \ ' in the path. +EX) C:\User\username should be replaced with C:\\User\\username + + + + + + +4.Start the container using the command: +```` +podman start container_name +```` +This will start the container using the previously created name container_name.