Home » Tag Archives: Docker

Tag Archives: Docker

Java EE, Docker and Maven (Tech Tip #89)

docker-logo

Java EE applications are typically built and packaged using Maven. For example, github.com/javaee-samples/javaee7-docker-maven is a trivial Java EE 7 application and shows the Java EE 7 dependency: <dependencies> <dependency> <groupId>javax</groupId> <artifactId>javaee-api</artifactId> <version>7.0</version> <scope>provided</scope> </dependency> </dependencies> And the two Maven plugins that compiles the source and builds the WAR file: <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>3.1</version> <configuration> <source>1.7</source> <target>1.7</target> </configuration> </plugin> <plugin> <artifactId>maven-war-plugin</artifactId> <version>2.3</version> <configuration> <failOnMissingWebXml>false</failOnMissingWebXml> </configuration> </plugin> ...

Read More »

Centralized System and Docker Logging with ELK Stack

docker-logo

With Docker there was not supposed to be a need to store logs in files. We should output information to stdout/stderr and the rest will be taken care by Docker itself. When we need to inspect logs all we are supposed to do is run docker logs [CONTAINER_NAME]. With Docker and ever more popular usage of micro services, number of ...

Read More »

Deploying Java EE Application to Docker Swarm Cluster

docker-logo

What is Docker Swarm? Docker Swarm provides native clustering to Docker. Clustering using Docker Swarm 0.2.0 provide a basic introduction to Docker Swarm, and how to create a simple three node cluster. As a refresher, the key components of Docker Swarm are shown below:       In short, Swarm Manager is a pre-defined Docker Host, and is a single point for all administration. Additional Docker hosts are ...

Read More »

Docker Machine on Windows – How To Setup You Hosts

docker-logo

I’ve been playing around with Docker a lot lately. Many reasons for that, one for sure is, that I love to play around with latest technology and even help out to build a demo or two or a lab. The main difference, between what everybody else of my colleges is doing is, that I run my setup on Windows. Like ...

Read More »

Continuous Delivery with Docker Containers and Java EE

docker-logo

Organizations need a way to make application delivery fast, predictable and secure and the agility provided by containers, such as docker, help developers realize this goal. For Java EE applications, this enables packaging of applications, the application server, and other dependencies in a container that can be replicated in build, test, and production environments. This takes you one step closer ...

Read More »

Distribute your applications with Docker Images

docker-logo

Since I started this blog, I had the need to develop a couple of sample applications to showcase some of the topics I have been covering. Usually, some kind of Java EE application that needs to be deployed in a Java EE container. Even by providing instructions on how to setup the environment, it can be tricky for a newcomer. ...

Read More »

Clustering Using Docker Swarm 0.2.0

docker-logo

One of the key updates as part of Docker 1.6 is Docker Swarm 0.2.0. Docker Swarm solves one of the fundamental limitations of Docker where the containers could only run on a single Docker host. Docker Swarm is native clustering for Docker. It turns a pool of Docker hosts into a single, virtual host. This Tech Tip will show how ...

Read More »

Building Minimal Docker Containers for Go Applications

docker-logo

There are several great official and community-supported containers for many programming languages, including Go, but these containers can be quite large. Let’s walk through a comparison of methods for building containers for Go applications, then I’ll show you a way to statically build Go apps for containerization that are extremely small. Part One: Our “app” We need something to test ...

Read More »

Docker 1.6 released – Docker Machine 0.2.0

docker-logo

Docker 1.6 was released yesterday. The key highlights are:                   Container and Image Labels allow to attach user-defined metadata to containers and images (blog post) Docker Windows Client (blog post) Logging Drivers allow you to send container logs to other systems such as Syslog or a third-party. This available as a new option to ...

Read More »

Docker MySQL Persistence

docker-logo

One of the recipes in 9 Docker recipes for Java developers  is using MySQL container with WildFly. Docker containers are ephemeral, and so any state stored in them is gone after they are terminated and removed. So even though MySQL container can be used as explained in the recipe, DDL/DML commands can be used to persist data, but that state is lost, or at least not ...

Read More »
Do you want to know how to develop your skillset and become a ...

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!
Get ready to Rock!
To download the books, please verify your email address by following the instructions found on the email we just sent you.

THANK YOU!

Close