Thank you so much for the help MiscBits, I've understood and create my first container
For this, i've created ~/docker-compose/docker-compose.yaml file like this:
I've prefer to create the folder docker-compose so that I can create within it all the folder necessary for the service (Like docker-compose/home-assistant)
Is for sure a little thing for you but understand the logic of docker and container is not so much easier![Laughing :lol:]()
Code:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMESec67bc1a5cec ghcr.io/home-assistant/home-assistant:stable "/init" 29 minutes ago Up 29 minutes home-assistantREPOSITORY TAG IMAGE ID CREATED SIZEghcr.io/home-assistant/home-assistant stable c194049450a4 10 days ago 1.58GBCode:
version: '1'services: home-assistant: container_name: home-assistant image: ghcr.io/home-assistant/home-assistant:stable volumes: - ~/docker-compose/home-assistant/.homeassistant:/config environment: - TZ=Europe/Rome network_mode: host restart: alwaysIs for sure a little thing for you but understand the logic of docker and container is not so much easier
Statistics: Posted by Cadmir — Mon Jul 29, 2024 5:49 pm