On 04/01/17 06:39, Nathan Haines wrote:
On 01/03/2017 09:33 PM, Gareth France wrote:
second it is not clear how you are
naming your container (the command to create it simply refers to it as
yakkety but the responses to that command state creating and starting
flying-snake).

When you create a container, you specify the image to use as the template and then the container name. If you do not specify a container name, a random name will be used instead.

So, to create a container based on Ubuntu 16.10 named foobar, you would run:

$ lxc launch ubuntu:yakkety foobar

The file to be edited is /etc/sudoers, and can be edited using your favorite text editor. Just start the command with:

$ lxc exec foobar -- sudo

and finish the line with your favorite editor plus the path /etc/sudoers.

This and more is explained in the link provided in the tutorial:

https://linuxcontainers.org/lxd/getting-started-cli/

Thank you. There were some issues with the guide created but I have resolved them now. However my completed snap does not work. After installing running the command results in:

/usr/bin/env: 'python': No such file or directory

Any ideas?

--
Snapcraft mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft

Reply via email to