Dangerous
kubectl run node-probe --image=alpine --restart=Never --overrides='{"spec":{"hostPID":true,"hostNetwork":true}}' -- sleep 3600cross-platform · bash · Expert
--overrides splices raw pod spec into the generated object, and these two fields put the container in the node's process and network…
The full explanation and danger signals for this pack are part of Pro.
Think you can spot these under time pressure?
Start TrainingMore Containers
docker run --privileged -v /:/host -it alpineAdvanceddocker exec -it web shExpertdocker run -v /var/run/docker.sock:/var/run/docker.sock -it alpineAdvanceddocker run -d --restart=always -v /:/mnt alpine sh -c 'sleep infinity'Expertdocker run --rm -v "$PWD":/work:ro -w /work node:20-alpine npm run lintNightmaredocker exec app-1 cat /app/logs/startup.logIntermediate