kensanata / sitelen-mute

a static image gallery creator
https://alexschroeder.ch/software/Sitelen_Mute
GNU General Public License v3.0
75 stars 7 forks source link

docker: Error response from daemon: OCI runtime create failed #22

Open faaafo opened 3 years ago

faaafo commented 3 years ago

I couldn't find any installation instruction like git clone or docker pull thus I guessed some steps and muddled them together with the instruction on the readme.md

Set the initial environment variables

SOURCE_DIRECTORY="$HOME/Pictures/stilllifes"
DESTINATION_DIRECTORY="/var/tmp/my_web_sitelen_mute_photo_album"

Check the SOURCEDIRECTORY with pictures

ls -ld $SOURCE_DIRECTORY/*jpg

Get the docker container

sudo systemctl start docker
sudo docker pull kensanata/sitelen-mute #250MB :/

Results

latest: Pulling from kensanata/sitelen-mute
Digest: sha256:3fe669fdc91a2f28f9f913b4125605ed7dff73bca9d811ce695ddc1e1f42107c
Status: Image is up to date for kensanata/sitelen-mute:latest
docker.io/kensanata/sitelen-mute:latest

Generate gallery with face detection enabled

sudo docker run --rm -it -u $(id -u):$(id -g) -v "$SOURCE_DIRECTORY":/mnt:ro \
  -v "`dirname $DESTINATION_DIRECTORY`":/destination kensanata/sitelen-mute \
  /mnt /destination/`basename $DESTINATION_DIRECTORY`-1 -f -j $(nproc)

Results:

docker: Error response from daemon: OCI runtime create failed: container_linux.go:370: starting container process caused: exec: "sitelen-mute": executable file not found in $PATH: unknown.
paternal commented 3 years ago

Same error here… The Docker image seems broken