Tag Archives: Docker

Docker: push image to Docker hub

Introduction In the previous post, we created an Express application using a Dockerfile. We successfully ran this container at the end of that post (e.g we could see the ‘hello world’ string with our webbrowser. As it worked successfully, we will now push our own image to the Docker Hub so other people could benefit from what we… Read More »

Docker: building our own images

In the previous posts (like here , or here ), we always worked with images that already existed, that were created by someone else and made available on Docker hub. In order to see the images that were already downloaded on our host system, run the ‘docker images’ command. root@ubuntu-demo:/home/cloud-user# docker images REPOSITORY TAG IMAGE ID CREATED VIRTUAL… Read More »

Docker: start, stop and remove containers

This post is a very short intermezzo just to show how to stop and restart containers and eventually also to remove them. We’ve seen that with ‘docker ps’, we get an overview of the containers that are currently running. Stopping is as simple as issuing the ‘docker stop ‘ command. See below for the execution: root@ubuntu-demo:/home/cloud-user# docker ps… Read More »

Docker: running simple Hello World web application

This post will focus on running an easy web application in a Docker container. We will run a simple web application that displays ‘Hello World’ in a web browser. In order to do so, we will run a Docker container with the training/webapp base image which can be found here. Running the following command (see previous tutorial also)… Read More »

Docker: running basic containers (hello world style)

After installing and updating the docker daemon, it’s about time to get our hands dirty and run some real applications. As you know by know, I always start easy and will fallback onto the Hello World type of applications. In later tutorials, I plan to go a bit deeper and run maybe some Express or Sinatra webapp. That’s… Read More »

Docker: connect to network socket

Introduction By default, the docker daemon listens on a unix socket, a unix domain socket (or IPC socket) is created at /var/run/docker.sock, requiring either root permission, or docker group membership. If you want to have docker listen on a TCP socket, you could do this as well. You could do this as follows (note that 192.168.100.2 is the… Read More »

Docker: install and upgrade (Ubuntu host)

Introduction This is the first post (of probably many more in the near future) to experiment with Docker. Goal is to build step by step a general understanding of container technology. As usual, I won’t elaborate on what containers are and what Docker is as there are many sites available that would probably do a better job on… Read More »