Sophia Parafina

Securing the AtSea App with Docker Secrets

Passing application configuration information as environmental variables was once considered best practice in 12 factor applications. However, this practice can expose information in logs, can be difficult to track how and when information is exposed, third party applications can access this information. Instead of environmental variables, Docker implements secrets to manage configuration and confidential information. Secrets are a way to keep information such as passwords and credentials secure in a Docker CE or EE with swarm mode. Docker manages secrets and securely transmits it to only those nodes in the swarm that need access to it. Secrets are encrypted during transit and at rest in a Docker swarm. A secret is only accessible to those services which have been granted explicit access to it, and only while those service tasks are running. The AtSea Shop is an example storefront application that can be deployed Continue reading…

Sophia Parafina

Multi-Stage Builds

This is part of a series of articles describing how the AtSea Shop application was built using enterprise development tools and Docker. In the previous post, I introduced the AtSea application and how I developed a REST application with the Eclipse IDE and Docker. Multi-stage builds, a Docker feature introduced in Docker 17.06 CE, let you orchestrate a complex build in a single Dockerfile. Before multi-stage build, Docker users would use a script to compile the applications on the host machine, then use Dockerfiles to build the images. The AtSea application is the perfect use case for a multi-stage build because: it uses node.js to compile the ReactJs app into storefront it uses Spring Boot and Maven to make a standalone jar file it is deployed to a standalone JDK container the storefront is then included in the jar Let’s look at the Dockerfile. The react-app is Continue reading…

Sophia Parafina

Spring Boot Development with Docker

The AtSea Shop is an example storefront application that can be deployed on different operating systems and can be customized to both your enterprise development and operational environments. In my last post, I discussed the architecture of the app. In this post, I will cover how to setup your development environment to debug the Java REST backend that runs in a container. Building the REST Application I used the Spring Boot framework to rapidly develop the REST backend that manages products, customers and orders tables used in the AtSea Shop. The application takes advantage of Spring Boot’s built-in application server, support for REST interfaces and ability to define multiple data sources. Because it was written in Java, it is agnostic to the base operating system and runs in either Windows or Linux containers. This allows developers to build against a heterogenous architecture. Project setup The AtSea project Continue reading…

Sophia Parafina

Developing a Spring Boot app on Docker: The AtSea Demo App

This is the first of a series of blog posts that demonstrates using Docker to develop a typical web application and deploying it in production. For DockerCon 2017, we wanted to build a new demo application that would demonstrate the flexibility of using Docker in development as well as showcase the features of Docker in a production environment. The result was the AtSea Shop, a storefront application that can be deployed on different operating systems and can be customized to both your enterprise development and operational environment. A Hybrid Architecture The team decided on a few ground rules. First, we wanted to use modern components commonly used in enterprise applications. We decided to build a Java application using the Spring Boot framework. The web client is a javascript application written using React as a framework.  Second, the application should be able to Continue reading…

Get the Latest Docker News by Email

Docker Weekly is a newsletter with the latest content on Docker and the agenda for the upcoming weeks.

Sophia Parafina

Live Debugging Java in Docker – Just in time for JavaOne!

Developing Java web applications often requires that they can be deployed on multiple technology stacks. These typically include an application server and a database, but these components can vary from deployment to deployment. Building and managing multiple development stacks in a development environment can be a time consuming task often requiring unique configurations for each stack. Docker can simplify the process of building and maintaining develop environments for Java web applications by building custom images that application developers can create on demand and use for development, testing and debugging applications. We have recently published a tutorial for building a Java web application using containers and three popular Java IDEs.  Docker enables developers to debug their code as it runs in containers. The tutorial covers setting up a debug session with an application server in Docker using IDEs that developers typically Continue reading…

Sophia Parafina

Announcing the Final Speakers for DockerCon 2016

We are happy to announce the final round of DockerCon speakers! But first, a big thank you to everyone who submitted a speaking proposal! It was a difficult task for the DockerCon Review Committee to select the final conference sessions for DockerCon 2016 from the 570+ submissions. We encourage everyone who submitted to present their talks to their local meetup groups – please feel free to reach out with any questions! And now, meet the final round of DockerCon speakers selected by the DockerCon Community Review Committee.

Sophia Parafina

Announcing (Even) More Speakers for DockerCon 2016

A quick note about the selection process: this year the Review Committee reviewed 570+ proposals using a double blind process, which means proposals were reviewed just by their abstract, outline and takeaways. From the initial review, we selected the top 100 proposals and began conversations with the authors of the most promising talks. We’re not quite done yet, but we expect to publish the schedule soon! If your proposal was not accepted, please consider submitting for a local meetup or another conference. Once again, we’d like to thank everyone who took the time to both submit and review the proposals. Without further ado, here are the next round of DockerCon speakers selected by the DockerCon Community Review Committee.

Sophia Parafina

Announcing More Speakers for DockerCon 2016

Today, we’re excited to share with you another round of speakers selected by the DockerCon Community Review Committee. Once again, we’d like to thank everyone who took the time to both submit and review the proposals for DockerCon 2016! Everyone should have received notification of their submission status. If you submitted to the CFP and have not heard from us, please reach out to dockercon@docker.com.