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

How to develop in Wordpress with Docker?

user4235
1#
user4235 Published in September 19, 2018, 9:08 am

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.

share|improve this question

1 Answer 1

active oldest votes
up vote 0 down vote
You need to login account before you can post.

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

© 2016 Powered by mzan.com design MATCHINFO