O'Reilly logo

Cloud Security Automation by Prashant Priyam

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

AWS ECS

Now, organizations have started utilizing the power of containers for their application. So, here, you must have a question; what is a container? A container is a standardized unit of software development, containing everything that your software application needs to run: code, runtime, system tools, system libraries, and so on. Containers are created from a read-only template named an image.

Images are created from Dockerfile, which is a text file that includes all the components and configuration required for a container.

Let's see the example of a Dockerfile for JBoss WildFly, running a Java application.

For this, we have created a Dockerfile for the hello world application:

FROM jboss/wildfly:latest ARG APP_FILE=helloworld.war ...

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