
# syntax=docker/dockerfile:1 FROM node:18-alpineĭocker images can be inherited from other images. Create a directory in your local machine named node-docker and follow the steps below to create a simple REST API. Let’s create a simple Node.js application that we can use as our example. An IDE or a text editor to edit files.Docker running locally: Follow the instructions to download and install Docker.To complete this tutorial, you need the following: An image includes everything you need to run an application - the code or binary, runtime, dependencies, and any other file system objects required.

Now that we have a good overview of containers and the Docker platform, let’s take a look at building our first image. You’re familiar with the Dockerfile format.
