Ir al contenido

Containers

Esta página aún no está disponible en tu idioma.

Let’s review some options, related to running Muo from the container

Currently, we do not upload the official Muo image into any Docker registry.

But you can create a local image with the system of your choice.

If you have a Muo binary locally, you can easily create a container with it.

Let’s assume, you placed the muo binary in the working folder.

  1. Create the following Dockerfile next to the executable

    FROM ubuntu:latest AS runtime
    WORKDIR /app
    COPY muo ./
    RUN chmod u+x ./muo
    EXPOSE 3000/tcp
    ENTRYPOINT ["./muo"]
  2. Build the image

    Terminal window
    docker image build \
    --tag docker.cesbo.com/muo:latest \
    .