![]() ![]() If you can't find your py file it means it isn't inside your docker file space you might need to download it inside the docker or use Docker GUI in unraid to map a path to where the file IS. :~# exit <- has all WHITE prompt until you type exit and press enter :~# docker exec -it home-assistant /bin/bash <- has all WHITE prompt blah blah blah Then copy it to the correct location by looking for the path they want you to put it in. Then go looking with ls command and find your configurator.py command file. Multiple FROM lines can be used in a single Dockerfile. I am using jenkins in a docker container and would like to start another instance, whenever I try to use docker command like. most probbly the image youre using is Alpine, so you cant use apt-get you can use Ubuntus package manager. You first get into the docker with the "docker exec -it home-assistant /bin/bash". apt-get does not work because the active Linux distribution is alpine, and it does not have the apt-get command. configurator.py: No such file or directory :~# docker exec -it home-assistant /bin/bash bin/bash: configurator.py: No such file or directory :~# docker exec -it home-assistant /bin/bash 'configurator.py' bin/bash: configurator.py: command not found :~# docker exec -it home-assistant /bin/bash -c 'configurator.py' bin/bash: ‘configurator.py’: No such file or directory :~# docker exec -it home-assistant /bin/bash ‘configurator.py’ So enter the following to get to a bash prompt in your container: ![]() If so you need to be at a bash prompt in the docker container when you type in your commands and the sudo may or may not be needed there. ![]() Is your HomeAssistant in a docker container? Note: If you are on a Linux system (for example, Debian or Ubuntu), you might need to add sudo before the command or add your user to the docker group. In your post above you have appdata in the directory path. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |