docker prestashop install


docker run -ti --name some-mysql2 --network prestashop-net -e MYSQL_ROOT_PASSWORD=admin -e MYSQL_DATABASE=prestashop -e MYSQL_ROOT_HOST=% -p 3308:3306 -d mysql:5.7
docker run -ti --name presta1 --network prestashop-net -e DB_SERVER=172.18.0.3 -e PS_DEV_MODE=true -e PS_INSTALL_AUTO=1 -p 8080:80 -d prestashop/prestashop:1.7-7.0

That will run auto install on presta1:
/bin/sh /tmp/docker_run.sh
php /var/www/html/install/index_cli.php –domain=172.18.0.4 –db_server=172.18.0.3:3306 –db_name=prestashop –db_user=root –db_password=admin –prefix=ps_ –firstname=John –lastname=Doe –password=prestashop_demo –email=demo@prestashop.com –language=en –country=gb –newsletter=0 –send_email=0

systemd 111

netstat -natp| grep :111
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 1/systemd

To 111 port listening disable you can like this:
systemctl stop rpcbind.socket

systemctl disable rpcbind.socket
Removed symlink /etc/systemd/system/sockets.target.wants/rpcbind.socket

Error: unsupported deleted submount: (deleted)/dev/log

Setting up checkpoint…
set CPU flags..
suspend…
Can not suspend container: Invalid argument
Error: unsupported deleted submount: (deleted)/dev/log
Checkpointing failed
Error in run_cmd (pcopy.c:334): Command date ‘+%s.%N’ > /tmp/tmp.sJn0B2zf0e; vzctl –skiplock chkpnt 31581 –suspend –flags 161183 1>&2 failed with code 16
Error: ploop copy -s /dev/ploop45973 failed
Error: Failed to copy top ploop delta
Killed by signal 15.

To find issue:
grep /dev/log /proc/*/mountinfo 2>/dev/null
/proc/20518/mountinfo:259 239 0:85 /log /dev/log rw,nosuid,relatime shared:161 – devtmpfs devtmpfs rw,size=1792000k,nr_inodes=448000,mode=755

lsof -p 20518
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
mysqld 30264 mysql cwd DIR 182,735569 4096 5768267 /var/lib/mysq