Running a stub in a Docker container
You can package a stub into a Docker image and then run the stub in a Docker container. You can run the stub anywhere that you have a Docker environment, whether on a private cloud or public cloud.
You must perform the following sub tasks in sequence:
- Installing and configuring Docker
- Configuring the pass-through behavior of the stub
- Publishing the stub to Docker
- Building a Docker image of the stub
- Running the stub in a Docker container
- Verifying that the Add Numbers client is calling the stub
- Stopping the stub and remove the Docker container
- Running the stub in Docker containers on private or public cloud