How-to: Add Base Containers
To add a base container with the name “my_container
”, do the following steps:
- Create a sub-directory with the name
my_container
in the following directory:csle/emulation-system/base_images/docker_files
- Add a Dockerfile to the following directory:
csle/emulation-system/base_images/docker_files/my_container
- Add build and push instructions to the following Makefile:
csle/emulation-system/base_images/Makefile
- Update the following README file:
csle/emulation-system/base_images/README.md
- Build and push the image to DockerHub by running the commands:
cd csle/emulation-system/base_images; make my_container cd csle/emulation-system/base_images; make push_my_container
- Previous
- Next