This currently is pretty minimal and uses:
- apache-2.4.8
- GD library
- Unzip library
- php7.2
- php7.2-opcache
- php7.2-acpu
- php7.2-yaml
docker build -t grav:latest .if you are recieving the follwoing error message while trying to build the image on Arch Linux :
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.run the following on the host system :
echo N | sudo tee /sys/module/overlay/parameters/metacopy
docker run -p 8000:80 grav:latestPoint browser to http://localhost/8000 and create user account...
This assumes you have already downloaded a Grav package into a local folder. This is the best way to run Grav if you want to have your changes persisted between restarts of the docker container.
docker run -v /local/grav/install:/var/www/html:cached -p 8000:80/tcp grav:latestTo run in the current directory you can use:
docker run -v `pwd`:/var/www/html:cached -p 8000:80/tcp grav:latestPoint browser to http://localhost/8000 to access your Grav site