We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Clone the repository:
$ git clone https://github.com/MadCoderZ/NewsBotIRC.git
$ cd NewsBotIRC
Edit config file src/main/resources/newsbot.properties
Build the image
$ docker build -t newsbot .
Run a disposable containter to test it
$ docker run --rm -it newsbot:latest
If everything went well, create the container
$ docker create --name newsbot newsbot
Setup the container to be restarted in case of failure. Try only 5 times and then abort.
$ docker update --restart=on-failure:5 newsbot
Start the container
$ docker start newsbot
$ docker ps
$ docker ps -a
$ docker images
$ docker rm CONTAINER_ID
$ docker rmi IMAGE_ID
Note: To use Docker as a regular user, add said user to the docker group.