Docker Tips

  • Run the following command to restart the container:
    docker restart itx-ls
  • Out of space conditions can show unusual errors (for example java errors and dumps). Try cleaning up the system using the following commands:
    • To clean up unused local volumes, run the command: docker volume prune
    • To clean up unused images, run the command: docker image prune
    • To clean up stopped containers, run the command: docker container prune
    • To clean up unused containers, networks, images (dangling and unused) and optionally volumes, run the command: docker system prune