Docker commands to run images

Maven Navigate to the Maven project directory on your workstation and launch the Maven container. To run a Maven project by using the Maven Docker image directly, passing a Maven command to┬ádocker run. docker run -it –rm –name my-maven-project -v “$(pwd)”:/usr/src/mymaven -w /usr/src/mymaven maven:3.3-jdk-8 mvn clean install To launch the Maven Docker container and open […]

Connect to a database in a Docker container from a VirtualBox virtual machine

host.docker.internalhost.docker.internalDocker is an emerging technology to launch applications on any guest operating system using any host operating system. The same host can run multiple Docker containers of any type, so one physical or virtual server can serve as a complete mini cloud environment. Most of the time Linux (including macOS) is used as the host […]