Docker interactive shell
docker exec -it [containerid/name] [shell]
#Example
docker exec -it fa80b69 bash
#if its an apline container use "sh" instead of "bash"
jak bash do docker kontejneru
docker exec -it nginx /bin/bash
jak bash do kontejneru docker
docker exec -it nginx /bin/bash
spustit příkaz dockerfile
docker build -t tag-name .
dockerfile vykonat příkaz
$CATALINA_HOME/RUNNING.txt
Dockerfile spustit aplikaci cmd
RUN apt-get install python3
CMD echo "Hello world"
ENTRYPOINT echo "Hello world"