How can you add a data volume to a container ? What is the best practice for services with persistent data in Bluemix ?
You can use:
cf ic volume create VOLNAME
to create a volume and
cf ic run [IP_address] [-p
PORT] [-P] [-m MEMORY] [-e ENV] [-v
VolumeId:ContainerPath[:ro]] [--name NAME] [--link
NAME:ALIAS] IMAGE [CMD
[CMD ...]]
to attach a volume to a container
More info here: https://www.ng.bluemix.net/docs/containers/doc/container_creating_ov.html#container_creating_ov
and here: https://www.ng.bluemix.net/docs/containers/doc/container_optional.html
Regards.