Posts tagged with docker

    Running Traefik on Worker Nodes More Securely

    Running Traefik in a Swarm cluster on non-managers can be tricky. There are quick and easy ways, but there are more secure ways. In this post, we'll talk about using a Docker Socket proxy to better protect us.

    Read More  

    Using SSH Connections in Docker Contexts

    Docker Contexts make it easy to manage remote Docker machines. Here's how to use SSH to connect to your remote machines.

    Read More  

    DockerCon 2019 - Containers for Beginners

    Feeling overwhelmed while getting started with containers? Have you been tasked to figure out how to train everyone back at your organization? There's just so much to learn and teach! In this talk, we’ll start with a tiny bit of history to motivate the "why" and quickly move into the "what" by explaining what container and images actually are (they're not just magical black boxes!). We'll talk about how volumes help with data persistence and include an overview of Docker Compose and even orchestration. There will be plenty of live demos and fun!

    Read More  

    Creating an Elastic QA Env using AWS

    How can you build an elastic QA environment that can support many concurrent stacks, be quickly available, yet minimize costs? I'll tell you how we did it!

    Read More  

    Keeping Docker App Updated

    In my last post, I talked about how we're using Docker App in development. In this post, I dive into how we keep it up-to-date when using several upstream component repos.

    Read More  

    Using Docker App in Development

    My dev team has been using Docker App for 8 months and it has changed everything. Here's what our environment looks like now.

    Read More  

    Sharing Network Namespaces in Docker

    I recently wanted to test a multi-container ECS task definition locally, which means using a single network namespace. But, how? And what does it buy me?

    Read More  

    12-Factor App Overview

    Developing applications is tough. Especially in the ever-changing environments. We have local development. QA validation. Pre-prod/staging. Production. But, how do we ensure our applications work the same everywhere? While containers help out, they aren't the only thing to keep in mind. The folks at Heroku, in 2011, published "The Twelve-Factor App", which has become the standard for building cloud-native applications.

    Read More  

    Using EC2 Tags to Dynamically Join ECS Cluster

    Here's a quick tip on how to join an ECS cluster at startup using EC2 tags

    Read More  

    DockerCon EU 2018 Takeaways

    DockerCon EU 2018 has come and gone! It was a blast and here are my key takeaways!

    Read More  

    DockerCon EU - App-in-a-Box with Docker App

    Docker App is an experimental tool that makes it easy to share multi-service applications. Create a Compose file, package it in an image, and voilà! You now have an "app-in-a-box"! Not convinced yet? No worries! It took a while for me to be convinced too! In this session, we'll start off by diving into how Docker App actually works, which will help us understand the use cases. We'll see how dev environments can hook in to this app-in-a-box by replacing the service being worked on with a dev container. Then we'll move on to see how end-to-end functional tests are much easier to run. And, finally, we'll see how to maintain an "app-in-a-box" with the latest versions of each component in a CI/CD pipeline, allowing for a unique app-in-a-box for each feature branch under development. Lots of good material! And lots of live demos!

    Read More  

    DockerCon EU - Containers 101 Workshop

    Being new to containers can feel like sitting in front of a firehose and trying to drink all of the water coming at you. Especially here at DockerCon! If you feel that way, no worries! This workshop is for you! In this workshop, we're going to dive into what containers and images actually are and some best practices around them, how to use volumes and port mappings, and how to run multi-service applications. There will be quite a few hands-on opportunities, as well as training from some of our Docker Captains. You won't want to miss this! Please note that this workshop will not talk about orchestration or running containers in production (monitoring, logging, etc.), as there are other workshops solely focused on these topics.

    Read More  

    Pro-tip - Using socat to see Docker socket traffic

    Quick pro-tip - use socat to "sniff" the Docker client/server traffic

    Read More  

    Letting Traefik run on Worker Nodes

    If you're using Traefik in Swarm mode, it needs to listen to Docker events. Here's how to do it without having all of your traffic go through manager nodes.

    Read More  

    Leveraging Multi-stage Builds to use a Single Dockerfile for Dev and Prod

    Using multi-stage builds with the target flag, we can use a single Dockerfile for dev and prod

    Read More  

    GOTO Chicago - Dino Apps Deserve Love Too

    Docker is for microservices, right? Sure, but it's not JUST for them. In this talk, I talk about why your dino apps need love and the benefits you can gain by giving them love.

    Read More  

    Blacksburg Open Source Dev Conf - Collaborating with Docker

    Presentation slides from talk given at the Blacksburg Open Source Dev Conference

    Read More  

    MABUG - Running Apps with Docker

    Presentation slides from talk given at the Mid-Atlantic Banner User Group. Take a look!

    Read More  

    DockerCon EU 2017 - Dino Behind the Scenes

    Go behind the scenes to find out the story of the dinos at DockerCon EU!

    Read More  

    Pro Tip - Fail chained commands in Dockerfile RUN

    You build an image. Great! It runs. But, not everything is there. Why not? Could it be a bad RUN command?

    Read More  

    VASCAN - Docker and Security

    Presentation slides given to the Virginia Alliance for Security Computing and Networking on September 28, 2017 on the Virginia Tech campus.

    Read More  

    Container Day Presentations

    Presentation slides for the inaugural NRV ContainerDay event

    Read More  

    Using Docker Secrets during Development

    Docker Secrets are amazing! Using them in development can be tricky though. Here are four methods to help out.

    Read More  

    Docker is NOT a Hypervisor

    Docker is often portrayed as a hypervisor, but it's not. Here's a quick reminder...

    Read More  

    Introducing Docker Multi-Stage Builds

    Docker has recently merged in support to perform "multi-stage builds." In other words, it allows you to orchestrate a pipeline of builds within a single Dockerfile. Here's a quick rundown...

    Read More  

    Managing Secrets in Docker Swarm

    Docker 1.13 was released just a few days ago (blog post here). With it came several improvements to Docker Swarm. One highly anticipated improvement (at least by me anyways) is secrets management. In this post, we’ll see how to add secrets to a swarm and how to make them available to running services.

    Read More  

    Using Docker to Proxy WebSockets on AWS ELBs

    At the time of this blog post, AWS ELBs don’t support WebSocket proxying when using the HTTP(s) protocol listeners. There are a few blog posts on how to work around it, but it takes some work and configuration. Using Docker, these complexities can be minimized.

    In this post, we’ll start at the very beginning. We’ll spin up an ELB, configure its listeners, and then deploy an application to an EC2 instance.

    Read More  

    Create a Docker 1.12+ Swarm using docker-machine

    DockerCon 2016

    In case you missed it, DockerCon 2016 was amazing! There were several great features announced, with most of it stemming from orchestration is now built-in. You get automatic load balancing (the routing mesh is crazy cool!), easy roll-outs (with healthcheck support), and government-level security by default (which is crazy hard to do by yourself).

    In case you’re a little confused on how to spin up a mini-cluster, this post will show you how. It’s pretty easy to do!

    Read More  

    Pushing to ECR Using Jenkins Pipeline Plugin

    I’ve been recently spending quite a bit of time in the DevOps space and working to build out better CI/CD pipelines, mostly utilizing Docker. In this post, I demonstrate building out a pipeline that will create a simple Docker image and push it to Amazon’s EC2 Container Registry.

    Read More  

    Creating a Wildfly Docker image with PostgreSQL

    If you’ve been following my blog, you probably already know that I’ve been playing with Docker for a while now. In this post, I will show you how I’m putting together a base Wildfly image and explain why I made some of the decisions I did.

    Read More  

    Using Docker for QA Testing

    At work, I’ve recently helped lead a migration to use a Docker-based approach for our QA testing. But first, if you haven’t read about we do our QA testing, you’ll probably want to read that here.

    Read More