# Create PhpMyAdmin Docker Container

https://hub.docker.com/r/phpmyadmin/phpmyadmin/
````bash
#!/bin/bash
source $(dirname $0)/config.cfg
docker create --name sqladmin --link mysql:db -e "VIRTUAL_HOST=sqladmin.${domains[0]}" -p 8080:80 -e LETSENCRYPT_HOST="sqladmin.${domains[0]}" -e LETSENCRYPT_EMAIL=$adminmail phpmyadmin/phpmyadmin


````

# Create PhpMyAdmin Docker Container

https://hub.docker.com/r/phpmyadmin/phpmyadmin/
````bash
#!/bin/bash
source $(dirname $0)/config.cfg
docker create --name sqladmin\
 --link mysql:db\
  -e "VIRTUAL_HOST=sqladmin.${domains[0]}"\
  -e LETSENCRYPT_HOST="sqladmin.${domains[0]}"\
  --expose 80 \
  -e LETSENCRYPT_EMAIL=$adminmail phpmyadmin/phpmyadmin


````

Use port 80 and SSL
Use port 80 and SSL
