Giter VIP home page Giter VIP logo

Comments (3)

VeniceNerd avatar VeniceNerd commented on August 22, 2024 1

Thank you for your help. I got it to work!

from docker-homebridge.

VeniceNerd avatar VeniceNerd commented on August 22, 2024

Update: I think I figured out to remove all the additional containers I created:

pi@raspberrypi:~ $ docker images -a
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
oznu/homebridge     raspberry-pi        77b91fc8b723        2 days ago          331MB
pi@raspberrypi:~ $ docker images -f dangling=true
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
pi@raspberrypi:~ $ docker ps -a
CONTAINER ID        IMAGE                          COMMAND             CREATED             STATUS                   PORTS               NAMES
5058dca1a0d4        oznu/homebridge:raspberry-pi   "/init"             3 hours ago         Up 3 hours                                   homebridgetwo_homebridge_1
9d21736cbd21        oznu/homebridge:raspberry-pi   "/init"             4 hours ago         Exited (0) 4 hours ago                       nostalgic_varahamihira
692612b664cc        oznu/homebridge:raspberry-pi   "/init"             5 hours ago         Exited (0) 5 hours ago                       homebridge
14b6628f668a        oznu/homebridge:raspberry-pi   "/init"             27 hours ago        Up 4 hours                                   homebridge_homebridge_1
pi@raspberrypi:~ $ docker rm 5058dca1a0d4
Error response from daemon: You cannot remove a running container 5058dca1a0d459a4f8d973ec687619ca0bc7673b920bdf07d65f86fe03fc3cb7. Stop the container before attempting removal or force remove
pi@raspberrypi:~ $ docker rm 692612b664cc
692612b664cc
pi@raspberrypi:~ $ docker rm 9d21736cbd21
9d21736cbd21
pi@raspberrypi:~ $ docker ps -a
CONTAINER ID        IMAGE                          COMMAND             CREATED             STATUS              PORTS               NAMES
5058dca1a0d4        oznu/homebridge:raspberry-pi   "/init"             3 hours ago         Up 3 hours                              homebridgetwo_homebridge_1
14b6628f668a        oznu/homebridge:raspberry-pi   "/init"             27 hours ago        Up 4 hours                              homebridge_homebridge_1
pi@raspberrypi:~ $ docker stop 5058dca1a0d4
5058dca1a0d4
pi@raspberrypi:~ $ docker rm 5058dca1a0d4
5058dca1a0d4
pi@raspberrypi:~ $ docker ps -a
CONTAINER ID        IMAGE                          COMMAND             CREATED             STATUS              PORTS               NAMES
14b6628f668a        oznu/homebridge:raspberry-pi   "/init"             27 hours ago        Up 4 hours                              homebridge_homebridge_1
pi@raspberrypi:~ $ 

So now I only have one container left running which is "homebridge_homebridge_1". Now I just need to figure out how to properly set up the second container. ;)

from docker-homebridge.

oznu avatar oznu commented on August 22, 2024

Please see #32 (comment) which is how I have tested running two Homebridge instances using as single docker-compose.yml file.

The command opposite to docker-compose up -d is docker-compose down. The down command will remove all the containers created by the up command.

from docker-homebridge.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.