O'Reilly logo

DevOps Bootcamp by Mitesh Soni

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a Tomcat container

In this section, we will create a container with the Tomcat web server installed so that we can deploy Java-based web applications into it:

  1. Create an account in Docker hub and Login:
  1. We can search different images from the Docker hub:
  1. You can find the Tomcat image at https://hub.docker.com/_/tomcat/
  2. Use Docker's pull command to get the Tomcat image:
        docker pull tomcat 
  1. Once the Tomcat image is available, verify it using the docker images command:
  1. To run docker container from the image, run docker run ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required