User Tools

Site Tools


code:docker

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
code:docker [2019/04/19 09:41]
hansek
code:docker [2020/08/05 08:15] (current)
hansek
Line 1: Line 1:
 ====== Docker ====== ====== Docker ======
  
-===== PHP 5.=====+===== docker.sock: connect: permission denied ===== 
 + 
 +source: https://techoverflow.net/2018/12/15/how-to-fix-docker-got-permission-denied-while-trying-to-connect-to-the-docker-daemon-socket/ 
 + 
 +<code bash> 
 +sudo usermod -a -G docker $USER 
 +</code> 
 + 
 +===== PHP 5.=====
  
 <code yaml docker-compose.yml> <code yaml docker-compose.yml>
Line 58: Line 66:
 Import database dump Import database dump
 <code bash> <code bash>
-mysql -h 127.0.0.1 -p main -u root < dump.sql+mysql -h 127.0.0.1 -u root -p main < dump.sql
 </code> </code>
code/docker.1555659702.txt.gz · Last modified: 2019/04/19 09:41 by hansek