Build the container with
docker compose buildand then run the container using
docker compose run --rm webos-cliYou will be dropped into a ash shell inside the container where you can use the webOS CLI. For documentation on how to use the CLI, see its GitHub Page.
The --rm flag ensures that the container does not linger around after you're done using it. The webos users home directory is configured as a volume for persistency. Additionally, a data directory will be created in the directory of the compose file and read-only mounted into the webos users home directory. This allows you to easily bring files into the container, e.g. application binaries you wish to install on you TV.