How to enable persistent storage when creating docker image

Hi,
I would like to be able run the equivalent of the following in cloudmin

docker run \
--name refvm \
-e MYSQL_ROOT_PASSWORD=xxxxxxx \
-e MYSQL_DATABASE=wordpress -e MYSQL_USER=wordpress \
-e MYSQL_PASSWORD=xxxxxx -h refvm1.eis.utoronto.ca \
-v /data/docker/refvm/www:/var/www/html \
-v /data/docker/refvm/mysql:/var/lib/mysql \
--label=label:user:ted \
-P -d refvm

Any hints as to how I would accomplish this? It seems the only parm that I get to specify on the gui is the command to run. The above is a more real world example of what I am using Docker for. Can cloudmin do this or will it be able to do this in the near future? Thanks.

Ted

Status: 
Active

Comments

Right now this isn't supported, but I'll add it to our TODO list for a future release.

Hi,
thanks which part is not supported.
Environment variables
Volumes
Labels

Thanks for adding them to your TODO I assume that means that these were not even considered before release so it will be a while before they are available.

I guess support for docker-compose has not be thought of either? thanks.

Ted

None of environment variables, volumes or labels are supported yet. The Docker support in Cloudmin is pretty new, so we still have quite a bit of work to do to add new features.