Generar una imatge personalitzada del sistema operatiu Debian amb els paquets necessaris per poder inspeccionar el sistema. Usar un Dockerfile per automatitzar la generació. Ha de permetre realitzar les ordres: ps, ping, ip, nmap, tree, vim com a mínim.
Contingut directori context
Dockerfile
Contingut Dockerfile
FROM debian:latest
LABEL author="jordi jubete"
LABEL subject="repte 1"
RUN apt-get update
RUN apt-get -y install procps iproute2 tree nmap vim iputils-ping
Creació imatge
docker build -t jordijsmx/debian:repte1 .
Arrancar imatge
docker run --rm --name repte1 -h debian -it jordijsmx/debian:repte1
Content type
Image
Digest
sha256:9e8faf4a1…
Size
105.1 MB
Last updated
over 2 years ago
docker pull jordijsmx/debian:backups