In this lab we will learn about the basics of low and mid-energy radiation-matter interaction with the help of Geant4, the Geant4 binding for Python (g4py), and of course, our beloved Docker. This lab may fall into the recent (and praiseworthy) trend related to the so called reproducible research and Open Educational Resources as a Service. This PWD/Docker-based experience has been carried out with huge success at Universidad Internacional de La Rioja (UNIR), as described in this research pap...| Play with Docker classroom
Welcome to Docker’s .NET Conf challenge! This lab gets you using .NET Core in Docker containers. You’ll experience compiling code, packaging apps and running containers, using the latest .NET Core 3.0 release. Difficulty: Beginner (assumes no familiarity with Docker) Time: Approximately 5 minutes Tasks: Task 1: Grab the code Task 2: Build the application image Task 3: Run a .NET Core container! Task 1: Grab the code The Play-with-Docker environment is already set up with Docker and Git, s...| Play with Docker classroom
In this lab, we will look at some basic Docker commands and a simple build-ship-run workflow. We’ll start by running some simple containers, then we’ll use a Dockerfile to build a custom app. Finally, we’ll look at how to use bind mounts to modify a running container as you might if you were actively developing using Docker. Difficulty: Beginner (assumes no familiarity with Docker) Time: Approximately 30 minutes Tasks: Task 0: Prerequisites Task 1: Run some simple Docker containers Task...| Play with Docker classroom
In this tutorial we will learn about basic application containerization using Docker and running various components of an application as microservices. We will utilize Docker Compose for orchestration during the development. This tutorial is targeted for beginners who have the basic familiarity with Docker. If you are new to Docker, we recommend you check out Docker for Beginners tutorial first. We will start from a basic Python script that scrapes links from a given web page and gradually ev...| Play with Docker classroom
This lab walks through the evolution of a simple Node.js bulletin board application, running on Docker. You’ll start with a simple app that uses hard-coded data, then add SQL Server for persistent storage, and a proxy to improve web performance. You’ll learn about packaging applications in Docker images, running distributed applications across multiple containers, and adding instrumentation to your containers so you can see the health of your application. You’ll use the Docker command l...| Play with Docker classroom
In the previous exercise you pulled down images from Docker Store to run in your containers. Then you ran multiple instances and noted how each instance was isolated from the others. We hinted that this is used in many production IT environments every day but obviously we need a few more tools in our belt to get to the point where Docker can become a true time & money saver. First thing you may want to do is figure out how to create our own images. While there are over 700K images on Docker S...| Play with Docker classroom
In this lab you will run a popular, free, lightweight container and explore the basics of how containers work, how the Docker Engine executes and isolates containers from each other. If you already have experience running containers and basic Docker commands you can probably skip this intro exercise. --- Concepts in this exercise: Docker engine Containers & images Image registries and Docker Hub Container isolation --- Tips: Code snippets are shown in one of three ways throughout this environ...| Play with Docker classroom
So far we have explored using single instances of containers running on a single host, much like a developer might do when working on a single service application or like an IT adminstrator might do on a test rig. Production applications are usually much more complex and this single server model will not work to coordinate 10s or 100s of containers and the network connections amongst them, not to mention the need to ensure availability and the ability to scale. For real applications IT users ...| Play with Docker classroom
This self-paced learning journey is designed for IT Pros and System Administrators and will introduce you to Docker containers and the ways IT organizations like yours have started using Docker in their environment. We’ve designed three stages to guide you through this journey: Stage 1: The Basics This stage will Get you familiar with the core concepts of Docker Help you understand the fundamental value proposition for Docker Help you see how Docker can help your organization Stage 2: Diggi...| Play with Docker classroom
This is a followup interactive tutorial from this blogpost to reduce docker nodejs images by 50% using Zeit pkg and docker multi-stage builds. The traditional way Before jumping into the magic trick, we’ll build a nodejs docker image as we would do traditionally to show the space that we’re saving by using this new approach. Let’s create a simple node application: echo 'console.log("Hello, pkg")' | tee index.js We’ll now package it using a very basic dockerfile echo 'FROM node:boron-s...| Play with Docker classroom
Docker volume plugins Docker Engine volume plugins enable Engine deployments to be integrated with external storage systems such as Amazon EBS, and enable data volumes to persist beyond the lifetime of a single Docker host. See the plugin documentation for more information. Setting up First we install openssh and configure test user with password testpassword in the second node apk add --no-cache openssh adduser -D test echo "test:testpassword" | chpasswd ssh-keygen -N "" -t rsa -f /etc/ssh/s...| Play with Docker classroom
Synchronous service create and service update A nice PATCH has been merged into Docker a few minutes ago that allows service creations and updated to be executed synchronously. Note: If you don’t see the progress bars in the terminal on the right, try resizing the pane to make the term bigger. Creating a synchronous service Initialize your swarm docker swarm init --advertise-addr eth1 Create a new synchronous serivce using the new -d flag docker service create -d=false --name top --replicas...| Play with Docker classroom
Before anything How to use this course Please, validate the Google capcha to activate the shell on the right. Then, you can either copy the commands yourself, or simply click on the grey boxes to automatically copy commands into the terminal. echo 'execute command on node1!!' echo 'execute command on node2!!' Please note that this platform is not secure and you should not store personal datas the instance will be removed after few hours Predictive Load-balancing name using Docker Flow Proxy I...| Play with Docker classroom
Prerequisites This tutorial will need the master build of Docker, which is available on Play With Docker. Multi-staged builds A common pipe-line for building applications in Docker involves adding SDKs and runtimes, followed by adding code and building it. The most efficient way to get a small image tends to be to use 2-3 Dockerfiles with different filenames where each one takes the output of the last. This is referred to as the Builder pattern in the Docker community. This lab explores a new...| Play with Docker classroom
This lab is longer than the other ones. It features a demo app built around a microservices architecture, defined through a Compose file. You will run this app on a single node. Then, to scale that app on a cluster, you will learn the concepts powering SwarmKit, Docker’s native orchestration system. Armed with this new knowledge, you will setup your own Swarm cluster across five nodes, and use it to deploy the demo app. We recommend that you open two tabs or two windows for that lab: one fo...| Play with Docker classroom
This lab is longer than the other ones. It is designed to follow the part 1 (“from Compose to Swarm”) but can also be done independently (it provides jump-start instructions if you want to skip part 1). You will learn about the security features of Swarm: secrets, cluster locking, network encryption, and more. You will also see how to implement logging, metrics, and will given a galore of tips and tricks to operate Swarm. We recommend that you open two tabs or two windows for that lab: on...| Play with Docker classroom
Lab: Capabilities Difficulty: Advanced Time: Approximately 30 minutes In this lab you’ll learn the basics of capabilities in the Linux kernel. You’ll learn how they work with Docker, some basic commands to view and manage them, as well as how to add and remove capabilities in new containers. You will complete the following steps as part of this lab. Step 1 - Introduction to capabilities Step 2 - Working with Docker and capabilities Step 3 - Testing Docker capabilities Step 4 - Extra for e...| Play with Docker classroom
Lab: Seccomp Difficulty: Advanced Time: Approximately 20 minutes seccomp is a sandboxing facility in the Linux kernel that acts like a firewall for system calls (syscalls). It uses Berkeley Packet Filter (BPF) rules to filter syscalls and control how they are handled. These filters can significantly limit a containers access to the Docker Host’s Linux kernel - especially for simple containers/applications. You will complete the following steps as part of this lab. Step 1 - Clone the labs Gi...| Play with Docker classroom
Introduction A registry is a service for storing and accessing Docker images. Docker Hub and Docker Store are the best-known hosted registries, which you can use to store public and private images. You can also run your own registry using the open-source Docker Registry, which is a Go application in a Alpine Linux container. What You Will Learn You’ll learn how to: run a local registry in a container and configure your Docker engine to use the registry; generate SSL certificates (using Dock...| Play with Docker classroom
Part 2 - Running a Secured Registry Container in Linux We saw how to run a simple registry container in Part 1, using the official Docker registry image. The registry server can be configured to serve HTTPS traffic on a known domain, so it’s straightforward to run a secure registry for private use with a self-signed SSL certificate. Generating the SSL Certificate in Linux The Docker docs explain how to generate a self-signed certificate on Linux using OpenSSL: mkdir -p certs openssl req -ne...| Play with Docker classroom
This is a short collection of tips and tricks showing how Docker can be useful when working with Go code. For instance, I’ll show you how to compile Go code with different versions of the Go toolchain, how to cross-compile to a different platform (and test the result!), or how to produce really small container images. The following article assumes that you have Docker installed on your system. It doesn’t have to be a recent version (we’re not going to use any fancy feature here). Go wit...| Play with Docker classroom
Note: This tutorial requires you to run your app locally on your own computer Pre-requisites Docker for OSX, Docker for Windows, or Docker for Linux Visual Studio Code Getting Started The first thing to notice is that you don’t actually need to have Node.js installed on your machine. You can just use Docker and your IDE. In this case we’re going to show you how to use Visual Studio Code. We’ve created a simple application which includes an error. You can see the app in the app/ director...| Play with Docker classroom
Note: This tutorial requires you to run your app locally on your own computer Pre-requisites Docker for OSX or Docker for Windows NetBeans IDE Java Development Kit Getting Started Using your git client clone the repository. git clone https://github.com/docker/labs cd labs/developer-tools/java-debugging Open NetBeans IDE, Click on Open Project... Select app and click on Open Project. Building the application The application is a basic Spring MVC application that receives user input from a form...| Play with Docker classroom
Note: This tutorial requires you to run your app locally on your own computer Pre-requisites Docker for OSX or Docker for Windows IntelliJ Community Edition Java Development Kit Getting Started In IntelliJ, clone the repository. Click on Check out from Version Control > Github If this the first time to use IntelliJ with Github, log into your Github account. On the command line clone the docker/labs repository Click on Import project from external model, select Maven. Click Next Check Search f...| Play with Docker classroom
Note: This tutorial requires you to run your app locally on your own computer Pre-requisites Docker for OSX or Docker for Windows Eclipse (install Eclipse IDE for Java EE Developers) Java Development Kit Maven for Eclipse (see instructions for adding the Maven plug-in to Eclipse) Getting Started On the command line clone the registration-docker repository git clone https://github.com/docker/labs cd labs/developer-tools/java-debugging In Eclipse, import the app directory of that project as an ...| Play with Docker classroom
Let’s deploy the voting app stack on a swarm. Purpose The purpose of this lab is to illustrate how to deploy a stack (multi services application) against a Swarm using a docker compose file. The application The voting app is a very handy multi containers application often used for demo purposes during meetup and conferences. It basically allow users to vote between cat and dog (but could be “space” or “tab” too if you feel like it). This application is available on Github and update...| Play with Docker classroom
Let’s have fun with Docker images In this lab we will see how to create an image from a container. Even if this is not used very often it’s interesting to try it at least once. Then we will focus on the image creation using a Dockerfile. We will then see how to get the details of an image through the inspection and explore the filesystem to have a better understanding of what happens behind the hood. We will end this lab with the image API. Image creation from a container Let’s start by...| Play with Docker classroom
Understanding what is this volume thing In this lab, we will illustrate the concept of volume. We will see how to use volume in a Dockerfile at runtime with the -v option using the volume API We will also see what is bind-mounting on a simple example. Data persistency without a volume ? We will first illustrate how data is not persisted outside of a container by default. Let’s run an interactive shell within an alpine container named c1. docker container run --name c1 -ti alpine sh We will ...| Play with Docker classroom
This tutorial will show you how to setup a swarm and deploy your first services. Init your swarm docker swarm init --advertise-addr $(hostname -i) Copy the join command (watch out for newlines) output and paste it in the other terminal. Show members of swarm Type the below command in the first terminal: docker node ls That last line will show you a list of all the nodes, something like this: ID HOSTNAME STATUS AVAILABILITY MANAGE R STATUS kytp4gq5mrvmdbb0qpifdxeiv * node1 Ready Active Leader ...| Play with Docker classroom
Start securing your swarm services using the latest compose reference that allows to specify secrets in your application stack Getting started Make sure your daemon is in swarm mode or initialize it as follows: docker swarm init --advertise-addr $(hostname -i) Automatic provision In this example we’ll let compose automatically create our secrets and provision them through compose with the defined secret file Create a new secret and store it in a file: echo "shh, this is a secret" > mysecret...| Play with Docker classroom
This tutorials showcases the config swarm feature that allow config objects to be attached to services. Config files can be mounted inside services’ containers, avoiding the need to bake configuration into images. Configuration files are similar to secrets, and in fact the CLI and API show few differences between the two. The principal differences so far are: Secrets are always redacted at the API level, so the payload cannot be obtained through an API call after they are created. Secrets a...| Play with Docker classroom
Setup There are four environments you can use to set-up Windows Containers. We have provided separate guides for each: Windows 10 with the Anniversary Update Windows Server 2016 on Azure Windows Server 2016 on AWS Windows Server 2016 on bare metal or in VM See also: See the Microsoft documentation for more comprehensive instructions. Setup - Windows 10 This chapter explores setting up a Windows environment to properly use Windows containers on Windows 10. Windows 10 with Anniversary Update Fo...| Play with Docker classroom
Getting Started with Windows Containers This chapter will cover the basics of using Windows Containers with Docker. ##Running Windows containers First, make sure the Docker installation is working: > docker version Client: Version: 1.12.2 API version: 1.24 Go version: go1.6.3 Git commit: bb80604 Built: Tue Oct 11 05:27:08 2016 OS/Arch: windows/amd64 Experimental: true Server: Version: 1.12.2-cs2-ws-beta API version: 1.25 Go version: go1.7.1 Git commit: 050b611 Built: Tue Oct 11 02:35:40 2016 ...| Play with Docker classroom
In this lab you will play around with the container orchestration features of Docker. You will deploy a simple application to a single host and learn how that works. Then, you will configure Docker Swarm Mode, and learn to deploy the same simple application across multiple hosts. You will then see how to scale the application and move the workload across different hosts easily. Difficulty: Beginner Time: Approximately 30 minutes Tasks: Section #1 - What is Orchestration Section #2 - Configure...| Play with Docker classroom
In this lab you will learn about key Docker Networking concepts. You will get your hands dirty by going through examples of a few basic networking concepts, learn about Bridge networking, and finally Overlay networking. Difficulty: Beginner to Intermediate Time: Approximately 45 minutes Tasks: Section #1 - Networking Basics Section #2 - Bridge Networking Section #3 - Overlay Networking Cleaning Up Section #1 - Networking Basics Step 1: The Docker Network Command The docker network command is ...| Play with Docker classroom
Difficulty: Beginner Time: Approximately 20 minutes In this lab, you will learn how to configure a continuous integration (CI) pipeline for a web application using Docker Cloud’s automated build features. You will complete the following tasks as part of the lab: Task 0: Configure the prerequisites Task 1: Configure Docker Cloud to Automatically Build Docker Images Task 1.1: Configure Docker Cloud Autobuilds Task 1.2: Trigger an Autobuild What is Docker Cloud? Docker Cloud is Docker’s clou...| Play with Docker classroom
Multi-Container Applications This tutorial will walk you through using the sample Music Store application with Windows containers. The Music Store application is a standard .NET sample application, available in the aspnet GitHub repository. We’ve forked it to use Windows Containers. Using docker-compose on Windows Docker Compose is a great way develop complex multi-container consisting of databases, queues and web frontends. To develop with Docker Compose on a Windows Server 2016 system, in...| Play with Docker classroom
This final stage will help you Implement a full proof of concept application Develop a strategy for integrating Docker into your existing production environment Become recognized as a leader in your organization on implementing Docker In this stage we have a series of design and reference architectures that help you understand the best ways to structure your apps with Docker. And a good video overview of the process at the end. Design and Reference Architectures Docker EE DDC Implementation C...| Play with Docker classroom
This stage will help you Understand the architecture of Docker, and the core features Understand how to integrate Docker into your existing application infrastructure Develop a proof of concept application deployment Hands-on Learning Dig deeper into some hands-on learning in the browser Docker Enterprise Edition Try the Docker Enterprise Edition Hosted Trial Security Seccomp profiles Linux Kernel Capabilities and Docker Networking Docker Networking Hands-on Lab Orchestration Docker Orchestra...| Play with Docker classroom
This stage will Get you familiar with the core concepts of Docker Help you understand the fundamental value proposition for Docker Help you see how Docker can help your organization For an introduction to Docker specifically for sys admins and IT Pros, check out Mike Coleman’s talk Docker?!? But I’m a SYSADMIN! Hands-on Learning Give Docker a try with these two beginning tutorials: Docker for Beginners - Linux Deploy a multi-service application More Reading: Ebook To understand the differ...| Play with Docker classroom
This final stage will help you Deploy an application to a staging environment Manage your staging environment with Docker Swarm Mode Learn how to build a secure application In this stage you’ll learn from the experts as we have a variety of videos with in depth content. Next Steps Once you’ve finished the three stages, you can Download Docker Sign up for the Docker Community Explore the Docker documentation| Play with Docker classroom
This stage show you how to This stage show you how to incorporate Docker into your entire developer workflow. Self-guided on desktop labs In-container development - learn how to integrate Docker into your IDE Java Development: Eclipse Java Development: IntelliJ Java Development: Netbeans Live Debugging Node.js with Docker and Visual Studio Code Windows Containers Windows Container Setup Setup up your environment to work with Windows Containers Windows Container Basics Windows Containers Multi...| Play with Docker classroom
This stage will Get you familiar with the core concepts of Docker Show you how to build and deploy basic applications Self-guided in-browser tutorials Docker for Beginners - Linux Application Containerization and Microservice Orchestration Deploying a Multi-Service App in Docker Swarm Mode| Play with Docker classroom
Learn docker through online trainings in training.play-with-docker.com| training.play-with-docker.com
Learn docker through online trainings in training.play-with-docker.com| training.play-with-docker.com