Skip to content

Mongo

Mongo is a container based image.

Base Image

Base images can be obtained from Docker Hub.

Import image

Pull the image through Sherpa:

sherpa server image pull --model mongo_db --version 8.2.7-rc0

Sherpa records the version, so a lab can use it. An image already pulled with the docker CLI is not known to Sherpa until it is scanned. The scan records each local tag of mongo as a version:

docker pull mongo:8.2.7-rc0
sherpa server image scan --kind container

Default Node Parameters

Property Value
Kind Container
CPU Not limited
RAM Not limited
ZTP disabled
Management Interface eth0
Interface Driver macvlan

Example Manifest

name = "mongo"

[[nodes]]
name = "db01"
model = "mongo_db"
version = "8.2.7-rc0"

Node Access

sherpa ssh <node-name>
docker exec -it <node-name>-<lab-id> sh

Notes

  • Approximate time for the system to be ready: 1 minute