Title: wordpress docker container with https
Last modified: May 10, 2019

---

# wordpress docker container with https

 *  [aristosv](https://wordpress.org/support/users/aristosv/)
 * (@aristosv)
 * [7 years ago](https://wordpress.org/support/topic/wordpress-docker-container-with-https/)
 * Hello,
 * I just installed wordpress in a docker container, using this command:
 * `docker run -d --restart always --name wordpress -h wordpress -p 80:80 -p 443:
   443 -e PUID=1001 -e PGID=1001 -e TZ=Asia/Nicosia -v wordpress:/var/www/html -
   d wordpress`
 * Now I would like to make it an https website. I read that I have to use nginx
   with letsencrypt. Any guide I found uses docker-compose.
 * Is there a way of doing this without docker compose? Perhaps something as easy
   as installing nginx and letsencrypt like I installed wordpress?
 * How are you securing your wordpress site using https in docker containers?
 * Thanks

Viewing 1 replies (of 1 total)

 *  [Andrei Draganescu](https://wordpress.org/support/users/andraganescu/)
 * (@andraganescu)
 * [7 years ago](https://wordpress.org/support/topic/wordpress-docker-container-with-https/#post-11530604)
 * Hi, this looks a bit unrelated to WordPress and more like a general Docker question?

Viewing 1 replies (of 1 total)

The topic ‘wordpress docker container with https’ is closed to new replies.

## Tags

 * [container](https://wordpress.org/support/topic-tag/container/)
 * [docker](https://wordpress.org/support/topic-tag/docker/)
 * [letsencrypt](https://wordpress.org/support/topic-tag/letsencrypt/)
 * [nginx](https://wordpress.org/support/topic-tag/nginx/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Andrei Draganescu](https://wordpress.org/support/users/andraganescu/)
 * Last activity: [7 years ago](https://wordpress.org/support/topic/wordpress-docker-container-with-https/#post-11530604)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
