Now that you have docker running on your computer, let’s take a look at Creating your first Dockerfile
Before creating a container, you need to understand the basics of what a container is. A container runs natively on Linux (or in Docker desktop) and shares the kernel of the host machine with other containers. It runs a discrete process, taking no more memory than any further executable, making it lightweight.
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 great guide from Docker on Building and Running your image: