Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95394

Install package in Docker

$
0
0

@grossmann wrote:

I need to install packages inside a container, where HA is installed
So I did following to acces the Container command line :

sudo docker exec -t -i homeassistant /bin/bash

And then I tried following :

bash-5.0# RUN apk update
bash: RUN: command not found
bash-5.0# apt-get update
bash: apt-get: command not found
bash-5.0# RUN apt-get update
bash: RUN: command not found

Is it possible to install something inside a container ?
In fact, I need “sendip” to be runned from my container. It’s OK outside :

pi@raspberrypi:~ $ sudo apt-get install sendip
Reading package lists... Done
Building dependency tree
Reading state information... Done
sendip is already the newest version (2.5-7).
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 95394

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>