Is there a way to expose socket from docker instance to container?
I try to expose mariadb socket to HOST then to container(for wordpress) with proxy or disk device
for example
lxc config device add maria-container maria-socket proxy connect=unix:/home/DOCKER/mariadb/config/mysqld.sock listen=unix:/mysql.sock bind=container mode=0666
but then i got on container
mysql -S /mysql.sock -u root -p
ERROR 2013 (HY000): Lost connection to server at 'handshake: reading initial communication packet', system error: 11