- Modify config.json
docker build --tag="local/irccloud-cli:latest" ./
docker run -d --name="irccloud-cli" local/irccloud-cli:latest
docker build --tag="local/irccloud-cli:latest" ./
docker run -d --name="irccloud-cli" local/irccloud-cli:latest ic -e <email> -p <password>
If you want to run more than 1 IRCCloud user in a container, you can:
$ docker run -d --name="irccloud-cli" local/irccloud-cli:latest ic -e <email> -p <password>
$ docker exec -d irccloud-cli ic -e <email> -p <password>
If your are already built images, but want to change config for container, you can use volume instead of rebuilding image.
$ docker build --tag="local/irccloud-cli:latest" ./
$ docker run -d --name="irccloud-cli" -v <NEW_CONFIG_FILE_PATH>:/app/config.json local/irccloud-cli:latest