Sign inSign up

kahatie/lamp

By kahatie

•Updated about 7 years ago

simple server lamp (linux apache2 mysql php) et svn

Image
0

1.5K

kahatie/lamp repository overview

⁠lamp

Docker Hub

Dockerfile⁠

Pull image

docker pull kahatie/lamp

Run container

docker run -d  --name=<container name> -v <path for files>:/home -v /etc/localtime:/etc/localtime:ro -p 8080:80 -p 8443:443 kahatie/lamp

Please replace all user variables in the above command defined by <> with the correct values.

get bash

docker exec -i -t <container name> bash

set mysql password

mysqladmin -u root password '<mon mot de passe>'

add svn user

htpasswd -cs /home/svn/dav_svn.passwd user1

logs

docker logs <container name>

phpmyadmin

http://<ip:port>/phpmyadmin

Tag summary

Content type

Image

Digest

Size

145.9 MB

Last updated

about 7 years ago

docker pull kahatie/lamp