Skip to main content

Your First Docker

Now that you have docker running on your computer let's create your first Dockerfile.

Before creating a container, you need to understand what a container is. A container runs natively on Linux (or in Docker desktop) and shares the host machine's kernel with other containers. It runs a discrete process, taking no more memory than any further executable, making it lightweight.

img

Now that you've set up your environment, you can begin to develop containerized applications.

Since the documentation on how to create a container is already readily available online, we suggest you follow this excellent guide from Docker on Building and Running your image:

Docker - Get Started Guide

NOTE: At Edgegap, we recommend using the base image that you are confortable (CentOS, Ubuntu, Debian or Alpine) we can run all Linux base kernels without issues.