Home How to develop in Wordpress with Docker?
Reply: 0

How to develop in Wordpress with Docker?

user694
1#
user694 Published in April 21, 2018, 3:07 pm

I have a docker container with installed WP and I want to create a new custom theme for it, but I don't want to install wp on own machine. Can I develop a new theme only via Docker container?

UDP: I solved my problem in this way:

1) in docker-composer.yml in a wordpress field need create a field

volumes:
   - ./wordpress:/var/www/html

2) Create in your file system the directory wordpress and run docker-compose build and then docker-compose up. Files will be moved in your directory and you can work with them and see a result in localhost.

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.308601 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO