Request A Demo
Back to All Blog Articles

FlexDeploy is a Container: Run FlexDeploy as a Docker Container

This is the fifth article in the blog series on what makes FlexDeploy a perfect fit for container native technologies:

FlexDeploy is available as a Docker container.

There are a few public Docker Hub repositories with FlexDeploy Community edition:

RepositoryVersionUpdatedTagStableDescription
flexdeploy/fd_tcat_xe_460FD 4.6.0.XEvery HotFixCorresponds to a version e.g. 4.6.0.2, 4.6.0.3, etc.YA line of hot fixes for FD 4.6.0 release. Contains FlexDeploy Tomcat application,  empty FlexDeploy database [Oracle XE].
flexdeploy/fd_tcat_460FD 4.6.0.XEvery HotFixCorresponds to a version e.g. 4.6.0.2, 4.6.0.3, etc.YA line of hot fixes for FD 4.6.0 release. Contains FlexDeploy Tomcat application. This image does not contain database.
flexdeploy/fd_tcat_xe_46xFD 4.6.1 – 4.6.4Every 4 weeksCorresponds to a version e.g. 4.6.1, 4.6.2, etc.NA line of intermediate pre-releases of 5.0.0 release. Contains FlexDeploy Tomcat application,  empty FlexDeploy database [Oracle XE]. Should be used for POC, demo, learning, etc. purposes only.

There are Docker images with stable FlexDeploy versions which can be used in production environment and images for POC, demo and educational purposes. Those POC images introduce new features and enhancements frequently which has some impact on the overall stability, so it’s not recommended to use them in production environment.

Images in flexdeploy/fd_tcat_460 repository don’t contain any database, they have FlexDeploy Tomcat application (including Tomcat ) only. This image requires that a FlexDeploy database is up and running  in your environment. Actually these images are supposed to be used in production. Whenever we create a container out of these images we specify jdbc url of an existing FlexDeploy database instance along with fd_admin password:

docker run --name flexdeploy -p 8008:8080 --shm-size=1gb flexdeploy/fd_tcat_460:4.6.0.2 -u jdbc:oracle:thin:@flexdbhost:1521:flexdb -p welcome1

The Docker command above creates a container out of flexdeploy/fd_tcat_460:4.6.0.2 image and starts it. Approximately in a minute when you see in the execution log a message like “Server startup in …” FlexDeploy container is up and available at http://localhost:8008/flexdeploy.

24-Jul-2018 19:20:59.679 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [http-nio-8080]
24-Jul-2018 19:20:59.696 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [ajp-nio-8009]
24-Jul-2018 19:20:59.698 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 73144 ms

If you are accessing FlexDeploy for the first time (it always happens when you are creating a container from an image containing FlexDeploy database), it will forward you to the registration page asking to provide some contact information and to agree with the Terms and Conditions:

Having done that you will be able to login to FlexDeploy in a regular way.

FlexDeploy Docker image comes with preinstalled set of some basic plugins:

If you need more, you can use the link on the screen which will forward you to a page with all available plugins where you can download whatever you need.

In order to save your computing resources FlexDeploy container can be easily stopped:

docker stop flexdeploy

and started when it is going to be used again:

docker start -i flexdeploy

When a container is not needed anymore you can remove it. This operation will clean all the data associated with the container:

docker rm -v flexdeploy

Obviously, you can run FlexDeploy containers on any machine having Docker engine installed. It can be a local machine with basic Docker configuration or it can be a Kubernetes cluster somewhere in the cloud.

Previous Post: FlexDeploy Loves Functions: Build Docker Containers with Fn Functions

Next Post: FlexDeploy Loves Containers: Build FlexDeploy Plugins with Docker

View All Plugins

Related Resources

Enhancing Oracle Integration Cloud Management with FlexDeploy

Managing and migrating integrations, lookups, libraries, and connections within Oracle Integration Cloud (OIC) is a challenging endeavor. FlexDeploy offers powerful ...

Streamlining Configuration Management in Oracle Fusion Apps with FlexDeploy

In the dynamic landscape of Oracle Fusion Applications, managing and migrating functional configurations pose significant challenges. Organizations often struggle with ...

Oracle Cloud Applications Enhancement: Discover How to Build, Deploy, and Migrate with FlexDeploy Native Plugins for a Competitive Edge

Efficiency and reliability are key in the accelerated world of enterprise software. Oracle Cloud Applications offer a robust suite of ...

Join DevOps leaders across the globe who receive analysis, tips, and trends in their inbox