Test ROCK from https://github.com/canonical/oci-factory
10K+
ubuntu/mock-rock is a rock for Mock rock test maintained by Canonical.
This is a long description for a mock rock that is only used for testing and demonstration purposes.
[Learn more about Mock rock test]
NOTE: These tags follow a specific naming convention that respects the concept of channels.
| Tags | Supported until | Version | Base | Architectures | |
|---|---|---|---|---|---|
1.1-22.04_candidate | aliases1-22.04_beta, 1-22.04_candidate, 1-22.04_edge, 1.1-22.04_beta, 1.1-22.04_edge, test_beta, test_edge | 05/2030 | 1.1 | 22.04 | amd64 |
1.2-22.04_beta | aliases1.2-22.04_edge, beta, candidate, edge | 05/2030 | 1.2 | 22.04 | amd64 |
This rock's entrypoint is Pebble, a container-optimized init process that enables the orchestration of a collection of local service processes as an organized set.
To view the Pebble services and checks defined in this rock:
docker run --rm ubuntu/mock-rock:1.1-22.04_candidate plan
To run this rock, use any of the usual container runtimes, for example, docker:
docker run --name mock-rock-container \
ubuntu/mock-rock:1.1-22.04_candidate \
exec hello
You'll see "Hello, world!" printed to STDOUT
To view the logs of the running container, run:
docker exec mock-rock-container pebble logs
Or, for a specific service:
docker exec mock-rock-container pebble logs <service>
Rocks may have predefined health checks that you can list by running:
docker exec mock-rock-container pebble checks
The overall health of your container can be inspected via:
docker exec mock-rock-container pebble health
Canonical is the provider of this container image. It is the user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within, as well as with Canonical’s IP Policy.
Content type
Image
Digest
sha256:44331f3e1…
Size
8.9 MB
Last updated
2 days ago
docker pull rocksdev/mock-rock:devel_edge