Skip to content
This repository was archived by the owner on Jan 1, 2023. It is now read-only.

Docker basics

Martin Kankaanranta edited this page Oct 21, 2021 · 5 revisions

Basic commands and things needed with development or running Open-Intelligence.

... todo...

Run compose yml file

sudo docker-compose up

Will build and start all defined containers in configuration.

List running containers

sudo docker ps

Run command in container from host

sudo docker exec -it 260635d3e66a ls
  • ls = command to run
  • 260635d3e66a = container id

Run as daemon (service)

sudo docker-compose up -d
  • -d is daemon flag.

Show container logs

sudo docker logs ba2ce6a9a90d

ba2ce6a9a90d = container id, get your id with sudo docker ps