Managing the installer container

Check, stop, remove, and re-create the LCM container without losing state.

The container holds no state of its own, so you can stop it, remove it, and re-create it at any time.

  1. To check, stop, or remove the container without touching the deployment state, use the following commands.
    sudo podman ps -a --filter name=ccc-lcm
    sudo podman stop ccc-lcm
    sudo podman rm -f ccc-lcm
  2. After you load a newer image, re-create the container. The terminal user interface needs an allocated terminal, so keep the interactive options.
    sudo podman rm -f ccc-lcm
    sudo podman create -it --log-driver=none --name ccc-lcm --network host \
      -v /srv/ccc-lcm:/opt/ccc-lcm \
      -v /root/.ssh:/root/.ssh:ro \
      -v /etc/ssl/certs:/etc/ssl/certs:ro \
      <registry-host>/ccc/cloudera/ccc-lcm:<lcm-tag>
    sudo TERM=xterm-256color podman start -ai ccc-lcm