Home » Tag Archives: Docker

Tag Archives: Docker

Java and Docker: Now and the Future

Sharat Chander‘s blog post Official Docker Image for Oracle Java and the OpenJDK Roadmap for Containers provides a high-level overview of the “Official Docker Image for Oracle Java,” an introduction to Docker and why containers like Docker are desirable, and a peek at things to come for Java on Docker. The post also provides a link to the “Docker image ...

Read More »

Creating Smaller Java Image using Docker Multi-stage Build

Two of the announcements at DockerCon 2017 directly relevant to Java developers are: Docker Multi-stage build Oracle JRE in Docker Store This blog explains the purpose of Docker multi-stage build and provide examples of how they help us generate smaller and more efficient Java Docker images. Just show me the code: github.com/arun-gupta/docker-java-multistage. What is the issue? Building a Docker image for a Java application typically involves building the application ...

Read More »

Docker Remote API on Windows and OSX

There are multiple ways to monitor Docker containers. Docker CLI provides the docker container stats API that gives basic information about the running containers. Docker Remote API provides more detailed information about the containers. Staring with Docker 1.13, there is an experimental feature with a Prometheus endpoint cAdvisor is an open source tool that provides last container usage and performance characteristics. This data can be ...

Read More »

3 ways of using Docker Containers for Testing in Arquillian

Arquillian Cube is an Arquillian extension that can be used to manager Docker containers from Arquillian. With this extension you can start a Docker container(s), execute Arquillian tests and after that shutdown the container(s). The first thing you need to do is add Arquillian Cube dependency. This can be done by using Arquillian Universe approach: <dependencyManagement> <dependencies> <dependency> <groupId>org.arquillian</groupId> <artifactId>arquillian-universe</artifactId> <version>${version.arquillian_universe}</version> <scope>import</scope> ...

Read More »

Managing Secrets In Docker Swarm Clusters

Docker 1.13 introduced a set of features that allow us to centrally manage secrets and pass them only to services that need them. They provide a much-needed mechanism to provide information that should be hidden from anyone except designated services. A secret (at least from Docker’s point of view) is a blog of data. A typical use case would be ...

Read More »

Docker Challenges and Misconceptions

Previously, we discussed the main reasons why Docker can be useful to the enterprise. So why aren’t all large companies using Docker already? A large part of the reason are the misconceptions surrounding Docker. We’ll touch on four of them in this post before we wrap up with some suggestions about how to move forward with Docker at the enterprise ...

Read More »

Persistent Storage for Docker Containers

In this week’s Whiteboard Walkthrough, Dale Kim, Sr. Director of Industry Solutions at MapR, describes how MapR addresses the challenge of providing a persistence tier to containers in big data settings. Dale describes a new technology to support Docker containers, the MapR Persistent Application Client Container, or PACC. This lets you deploy containers anywhere, with security enabled, while also providing ...

Read More »

Dockerizing an existing Rails application

Docker is a relatively new and rapidly growing project that allows creating very light “virtual machines”. Prerequisites There are no specific skills needed for this tutorial beyond a basic comfort with the command line and using a text editor. The following services are needed: Docker Hub (Login – Signup if you haven’t ) A Rails application Setting up your computer Getting ...

Read More »

Push Spring Boot Docker images on ECR

On a previous blog we integrated a spring boot application with EC2. It is one of the most raw forms of deployment that you can have on Amazon Web Services. On this tutorial we will create a docker image with our application which will be stored to the Amazon EC2 container registry. You need to have the aws cli tool ...

Read More »

Want to take your Java skills to the next level?

Grab our programming books for FREE!

Here are some of the eBooks you will get:

  • Spring Interview QnA
  • Multithreading & Concurrency QnA
  • JPA Minibook
  • JVM Troubleshooting Guide
  • Advanced Java
  • Java Interview QnA
  • Java Design Patterns