So, let's have a look at how to run PerfRepo with Docker...
- Start a DB using perfcake/perfrepo-postgresql image with container name perfrepo-db:
$ docker run -d --name perfrepo-db perfcake/perfrepo-postgresql:v1.4
- Start PerfRepo container from perfcake/perfrepo image at a specific port (e.g. 5000) and link it with the previously created DB container (the link alias needs to be perfrepo-db):
$ docker run -d -p 5000:8080 --name perfrepo --link perfrepo-db perfcake/perfrepo:v1.4
- Verify Docker containers are running:
$ docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 251863199f81 perfcake/perfrepo:v1.4 "/root/jboss-eap-6.4/" 4 seconds ago Up 3 seconds 0.0.0.0:5000->8080/tcp perfrepo baaeacfd98f5 perfcake/perfrepo-postgresql:v1.4 "/usr/bin/postgres -D" 35 minutes ago Up 35 minutes 5432/tcp perfrepo-db
- login: perfrepouser
- password: perfrepouser1.
The docker images are ready for you in the Docker Hub so have fun!!
Good post.....I appreciate yor way of writing that make the blog attractive and make reader to hold longer to your blog. Thank you for sharing.Performance testing services is a highly specialized field of testing.
OdpovědětSmazat