Prestashop installation
The installation of Prestashop using Docker is described in its Docker Hub page:
docker network create prestashop-net
docker run -ti --name some-mysql --network prestashop-net -e MYSQL_ROOT_PASSWORD=admin -p 3307:3306 -d mysql:5.7
docker run -ti --name some-prestashop --network prestashop-net -e DB_SERVER=some-mysql -p 8080:80 -d prestashop/prestashop:1.7
Log to http://localhost:8080/ and perform the Prestashop configuration.
Then, remove the ìnstall
directory
docker exec -it some-prestashop rm -fr install
Rename the admin directory, for example into adminx
.
docker exec -it some-prestashop mv admin adminx