Running container from Dockerfile

Contact us

Running container from Dockerfile

The following code will create an imaged named "my_image" from a Dockerfile (indicated with the "." character)

docker build -t my_image .

docker run -ti my_image /bin/bash

18 February 2019