Skip to content
This repository has been archived by the owner on Jan 28, 2022. It is now read-only.

4.Working with Docker

Andriws Luna edited this page May 16, 2021 · 1 revision

Working with Docker

Building images

Monolithic mode

In the main project folder, use the command:

upper build -mono

if you prefer you can use the Docker commands:

docker build -t dvdrental.

Open the Docker desktop to view the images created. Note that two images have been created.

Microservice mode

To create an image of just one service, use the command upper build followed by the name of the service:

upper build actor

If you prefer to use the Docker commands, navigate to the service folder and run the following command:

docker build -t actor .

Open the Docker desktop to view the images created. Note that two images have been created.

Building all services

In the main project directory, execute this command:

upper build

(This command can take a long time to complete)

And see images created: