Running ActiveMatrix Service Grid - Container Edition Application in Docker
After creating the application Docker image, the next step is to run the application in Docker.
Before You Begin
- Build ActiveMatrix Service Grid - Container Edition application Docker image. For more information, see Containerizing ActiveMatrix Service Grid Applications.
Procedure
Execute the docker run command on the machine where you have created the application Docker image.
docker run -d -p <Host_port>:<Container_port> -e <Environment_variables> --name <Container_name> <Application_Image_Name>:<Image_Version>
Example:
docker run -d -p 7777:7777 --name bookstore bookstore:1.0
For more information about the docker run command options, see Docker Run Command Reference.
Subtopics