Docker exposes the host directory or file mounting facility through the -v option of the docker run command. Let’s see how to use it in this tutorial.
Running any Docker image on Openshift
In this tutorial we will learn how to run a Docker image, built from a Dockerfile, on Openshift. So our starting point will be a simple Dockerfile definition which pulls the default “WildFly” image and adds some customizations to it. In our case, it simply adds a management user: FROM jboss/wildfly RUN /opt/jboss/wildfly/bin/add-user.sh admin Password1! … Read more