Docker

Create files from phpdocker.io

Install and run (in daemon)

docker-compose up -d

Install and run from CLI

    docker-compose up -d

Rebuild from a docker composer file

docker-compose up --build

See what's running

docker ps -a

Where do files live

create public/phpinfo.php

Shell

docker exec -it blog-php-fpm /bin/bash

 List containers

docker container ls

stop a container

docker stop 23c507406742

List images

docker images

 Remove image

docker image remove photoprism/photoprism:latest --force

Tail logs

docker logs -f --tail 10 [containerid]  

sizes

docker ps --size

 docker system df --verbose

  docker system df