Tag: docker

  • Valuable linux commands

    Valuable linux commands

    docker volume ls -qf dangling=true | xargs -r docker volume rm

  • Docker commands -2-

    Docker commands -2-

    Docker commands Containers Show running containers docker ps Show all containers docker ps -a Docker start container docker start xxx Docker stop container docker stop xxx Docker restart container docker restart xxx Docker remove container docker rm xxx Images Show images docker images Remove images docker rmi xxx Volumes List volumes docker volume ls Remove…

  • Docker installation

    Docker installation

    Docker is supported on these Ubuntu operating systems: * Ubuntu Xenial 16.04 (LTS) * Ubuntu Wily 15.10 * Ubuntu Trusty 14.04 (LTS) * Ubuntu Precise 12.04 (LTS) This page instructs you to install using Docker-managed release packages and installation mechanisms. Using these packages ensures you get the latest release of Docker. If you wish to…

  • Install Domoticz in docker

    Install Domoticz in docker

    Just run the following command! docker run -d -p 8080:8080 –name=domoticz -v /home/pi/domoticz-config:/config -v /etc/localtime:/etc/localtime:ro -v /dev/bus/usb:/dev/bus/usb sdesbure/domoticz More information about this project at: https://hub.docker.com/r/sdesbure/domoticz/

  • Docker container: Backup and Recovery

    Docker container: Backup and Recovery

    This config will describe a procedure of how to back up a Docker container as well as it will also show how to recover a Docker container from backup. To understand the Docker container backup and recovery process we first need to understand the difference between docker image and docker container. A docker image contains…

  • Docker autostart container

    Docker autostart container

    Create service make file in /etc/systemd/system/ cd /etc/systemd/system nano /docker-[containername].service Insert following code: [Unit] Description=Docker [containername] server Requires=docker.service After=docker.service [Service] Restart=always ExecStart=/usr/bin/docker start -a [containername] ExecStop=/usr/bin/docker stop -t 2 [containername] [Install] WantedBy=default.target Add service to systemd systemctl enable docker-[containername].service When system reboots, service will be started.