Lab 1 - Uruchamianie kontenerów z Docker
Przydatne komendy
- Instalacja narzędzi typu
top
,ps
jeśli brakuje [dla Debian i Ubuntu]
apt-get update && apt-get install -y procps
- Instalacja narzędzi do obsługi sieci (np.
ip
) jeśli brakuje [dla Debian i Ubuntu]
apt-get update && apt-get install -y iproute2
- Dostanie się do hosta z dockerem ze specjalnego kontenera
docker run -it --privileged --pid=host debian nsenter -t 1 -m -u -n -i sh