Skip to content

Instantly share code, notes, and snippets.

@solars

solars/test.sh Secret

Created April 19, 2019 15:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save solars/e54685a719ec06973898e0bf00d0f52e to your computer and use it in GitHub Desktop.
Save solars/e54685a719ec06973898e0bf00d0f52e to your computer and use it in GitHub Desktop.
docker run -d \
--name shinobi \
-p 6000:8080 \
-v /etc/localtime:/etc/localtime:ro \
-v /etc/timezone:/etc/timezone:ro \
-v /mnt/nfs-1/shinobi/config:/config \
-v /mnt/nfs-1/shinobi/datadir:/var/lib/mysql \
-v /mnt/nfs-1/shinobi/videos:/opt/shinobi/videos \
-v /dev/shm/shinobiDockerTemp:/dev/shm/streams \
migoller/shinobidocker:alpine
mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/run/mysqld/mysqld.sock' (2)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment