Add Alpine OS to Parent
- On Parent add docker
docker pull alpine
Create a new Alpine Docker Container
- Alpine docker container
docker run -it --rm alpine /bin/sh -c "apk update && apk upgrade && apk add bash && bash"
- run −> run a new instance
- i −> interactive
- t −> tty
- rm −> remove the instance after exit
- /bin/sh −> sh shell
- c −> run a command
apk update −> update the repository
apk upgrade −> upgrade the bot
apk add bash −> add bash shell
bash −> start the bash shell
|