03-13-2016, 04:15 PM
|
#2
|
LQ Guru
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342
|
are you trying to add an entry to a file?
Quote:
Open the file in your favorite editor.
$ sudo geany <or your favorite editor> /etc/apt/sources.list.d/docker.list
If the file doesn’t exist, create it.
Remove any existing entries.
Add an entry for your Ubuntu operating system.
|
Quote:
as you see here you have NO editor with root privileges
right here
Code:
mitja@mitja-N73SV:/etc/apt/sources.list.d$ sudo echo 'deb https://apt.dockerproject.org/repo ubuntu-wily main' >>docker.list
bash: docker.list: Permission denied
|
Last edited by BW-userx; 03-13-2016 at 04:18 PM.
|
|
|