Build a Docker image
Once you’ve created a Dockerfile, you can use it with the docker build
command to create a working image. Make sure the directory containing your Dockerfile is the working directory, then execute the following command:
$ docker build .
You may wish to tag the image when you build it, to make it easier to work with. You can, for example, tag it with a name like myname/my-anjuna-runtime
by executing the following command:
$ docker build --tag myname/my-anjuna-runtime .
Next, we’ll run the Docker image.