Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mr-hrr-harry/dockerised_vm
This is simple project on dockerising a vm and setting up OS as required
https://github.com/mr-hrr-harry/dockerised_vm
ansible ansible-playbook container-venv docker dockerfile ubuntu virtual-machine
Last synced: about 1 month ago
JSON representation
This is simple project on dockerising a vm and setting up OS as required
- Host: GitHub
- URL: https://github.com/mr-hrr-harry/dockerised_vm
- Owner: mr-hrr-harry
- Created: 2024-04-08T18:34:43.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2024-04-09T11:42:41.000Z (9 months ago)
- Last Synced: 2024-07-26T22:29:55.873Z (6 months ago)
- Topics: ansible, ansible-playbook, container-venv, docker, dockerfile, ubuntu, virtual-machine
- Language: Shell
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# docker commit
used to generate custom containers# pull new image - base OS
docker run -it --name my_ubuntu_container ubuntu:latest# install requirements
apt-get update
apt-get install -y(say)
We need an ubuntu OS with python3, pip3, ansible with other basic requirements, then
apt-get update
apt-get install -y apt-utils
apt install python3 python3-pip ansible systemd systemd-sysv dialogecho "[boot]" | sudo tee -a /etc/wsl.conf
echo "systemd=true" | sudo tee -a /etc/wsl.conf# exit the container
exit
# creating and naming the new image
docker commit# view the newly created image
docker images | grep ""For more refer:
https://www.notion.so/Harry-s-Docker-Documentation-d252b1bba2ab42e084fcb7b2f970cf2b