rocksdev/mock-rock

By rocksdev

Updated 2 days ago

Test ROCK from https://github.com/canonical/oci-factory

Image
0

10K+

rocksdev/mock-rock repository overview

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]

Tags and Architectures

NOTE: These tags follow a specific naming convention that respects the concept of channels.

TagsSupported untilVersionBaseArchitectures
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/20301.122.04amd64
1.2-22.04_beta
aliases1.2-22.04_edge, beta, candidate, edge
05/20301.222.04amd64

Get started

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.

[Learn more about Pebble]

Inspect

To view the Pebble services and checks defined in this rock:

docker run --rm ubuntu/mock-rock:1.1-22.04_candidate plan
Run

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

Get logs

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>
Monitor health checks

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

[Report a bug]

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.

Tag summary

Content type

Image

Digest

sha256:44331f3e1

Size

8.9 MB

Last updated

2 days ago

docker pull rocksdev/mock-rock:devel_edge