This is more a shell question than anything particular to LXD. Just
prepend the variable you want to the beginning of your command:
GOPATH=/some/path/here apt install some_software
for something more permanent, edit the default path variable IN the
container, probably /etc/login.defs - you
Hi,
I'm trying to install golang in a container, I can push an "apt install"
command to make that work, but then when I try and run stuff I get an error
about environment variables "$GOPATH not set".
It looks like there's some support for setting them in LXD, but I can't
work out how to do it,
Hi,
I am using lxc container. and I have an eeprom on my hardware board
connected via i2c adaptor.
my gaming application uses this eeprom to store some settings.
In my sysfs, the eeprom nodes are:
/sys/devices/platform/ocores-i2c.0/i2c-23/23-0054/eeprom
Serge,
>
>
>
> *> Automatically builds tunnels through firewalls and NATs without any
> further> setup (for example, port forwarding).I would not appreciate
> something which "automatically" (whatever itmeans) traverse my firewalls,
> to be honest. We should treat our dataseriously, Brian.*
On Tue, Sep 20, 2016 at 8:06 AM, John Y. wrote:
> I run a container as:
> lxc-start -n test2 -f /root/test.cfg
>
> I can get info by lxc-info
> #lxc-info -n test2
> Name: test2
> State: RUNNING
> PID:15615
> CPU use:1.62 seconds
>
On Tue, Sep 20, 2016 at 10:51 AM, John Y. wrote:
> before craete a container:
>
> #lxc-ls
> show nothing
>
> 1. Why there are some lxc still in lxc-ls when I use `lxc-stop -n test2
> -k` (or use `kill -9 pid`) to stop it?2. How to remove these unused lxc
> info?
>
>