Before starting I would like to recommend you to have a look at Docker in a nutshell if you are new to Docker. If not, you can continue this article.
In the previous Docker article (Docker in a nutshell), I showed you how to use commands and arguments in Docker commands. Now let’s check how to put commands and arguments into a pod-definition.yaml
file.
Look at this docker command.
docker run ubuntu sleep 5
Let’s see how to put the sleep 5
command and argument to the pod definition file.
#devops #dockerfiles #docker #kubernetes #cka-training