After building a Docker image from a dockerfile, I see the image was built successfully, but what do I do with it? Shouldn\'t i be able to run it as a container
Do the following steps:
$ docker images
You will get a list of all local Docker images with the tags specified.
$ docker run image_name:tag_name
If you didn't specify tag_name it will automatically run an image with the 'latest' tag.
Instead of image_name, you can also specify an image ID (no tag_name).