Linux Docker image - Service Virtualization Management
This topic describes how to use the Docker image for Service Virtualization Management.
The Service Virtualization Management accepts the following optional environment variables:
SV_USER - the username account which is created or updated before the server is started
SV_PASSWORD - the password of the user above
SV_GROUPS - the Service Virtualization groups for the user above (such as Service Virtualization Management users, Service Virtualization Server administrators)
SV_SSL_CERTIFICATE_GENERATE - generates a self-signed SSL certificate during startup (if set to true). Setting this to false is useful, for example, if you want to share the SSL certificate between SV Server and SV Management containers by mapping the work folder to the same volume. In this case, the certificate should be generated only by one container and reused by the other. The default setting is false.
Ports and directories
Service Virtualization Management uses port 6086 as its web secure endpoint port.
Service Virtualization Management has several directories which should persist data using docker volumes:
/opt/microfocus/sv-server/logs - server logs
/opt/microfocus/sv-server/work - certificates, credentials, users, etc.
/opt/microfocus/sv-server/work/Config, /opt/microfocus/sv-server/app.config - server configuration files
You can share these volumes with the Service Virtualization server when it runs on the same host as Service Virtualization Management. If you share these volumes, the list of users is also shared, so you do not need to pass user environment variables (SV_USER, etc.) to Service Virtualization Management.
You should share a Docker network with Service Virtualization Server to make the server accessible to Service Virtualization Management via its local name sv-server. By default, Service Virtualization Management adds the sv-server host to the list of managed servers.
You run Service Virtualization Management using the
docker run -d --name sv-svm command.
The following command shows how to run Service Virtualization Management with all of its parameters:
docker run -dt --name sv-svm \
--memory 2g \
--network sv -p 6086:6086 -h $(hostname) \
--volumes-from sv-server \
The Service Virtualization Management is accessible on the Web at https://localhost:6086/. When you access this URL, you will be prompted to authenticate using the user name and password that was created