Enabling https on a WordPress docker installation

I used this command to install the official WordPress container

docker run -d --restart always --name wordpress -h wordpress -p 80:80 -p 443:443 -e PUID=1001 -e PGID=1001 -v wordpress:/var/www/html -d wordpress

Now I want to use https with this installation of WordPress. Everything I’v read so far though uses docker-compose which I’ve never used before.

What’s the easiest way to use letsencrypt to enable https for my WordPress?


Wouldn’t this Docker question be better posed to a Docker forum ?