Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document docker usage #249

Open
thenewguy opened this issue Oct 21, 2021 · 0 comments
Open

Document docker usage #249

thenewguy opened this issue Oct 21, 2021 · 0 comments

Comments

@thenewguy
Copy link
Contributor

It would be helpful to provide some examples for using the docker image in testing.

This is an example of the docker configuration that I am currently using to test a print client:

[docker:printer]
image = ghcr.io/istopwg/ippsample:master-ade54d0b7f74a9873e10fc9049750db9e88fcc99-1634767616
cmd = ippserver -n printer -p 631 -vvvv server
ports =
    0:631/TCP
healthcheck_cmd = ipptool -V 2.0 -tf /root/ippsample/examples/document-letter.pdf ipp://localhost:631/ipp/print /root/ippsample/examples/identify-printer.test
healthcheck_interval = 3
healthcheck_timeout = 3
healthcheck_retries = 30
healthcheck_start_period = 5

This demonstrates using the image from GHCR, the command used, how to expose ports, and a reasonable health check so testing waits for the container to be ready

@michaelrsweet michaelrsweet added this to the Stable milestone Mar 20, 2023
@michaelrsweet michaelrsweet modified the milestones: Stable, Future Sep 25, 2023
@michaelrsweet michaelrsweet modified the milestones: Future, v10.24 Sep 21, 2024
@michaelrsweet michaelrsweet self-assigned this Sep 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants