Some beginner questions...

Albert Astals Cid aacid at kde.org
Sun Mar 6 12:49:56 GMT 2022


El dissabte, 5 de març de 2022, a les 18:17:33 (CET), Alexander Neundorf va escriure:
> On Sonntag, 21. November 2021 21:38:14 CET Albert Astals Cid wrote:
> > El diumenge, 21 de novembre de 2021, a les 18:20:08 (CET), Alexander 
> Neundorf va escriure:
> ...
> > > Is there a reason why less, vi and mc are not part of the image ?
> > > They make working in the container much nicer :-)
> > 
> > You can always
> >   sudo apt install vim
> > no?
> 
> I get errors:
> I have no name!@8fdf0c048ce2:~$ sudo apt-get install vim
> sudo: you do not exist in the passwd database
> I have no name!@8fdf0c048ce2:~$ 
> 
> When mounting /etc/passwd into the container I get the following:
> 
> alex at 792716dfb133:~$ sudo apt-get install vim
> [sudo] password for alex: 
> Sorry, try again.
> [sudo] password for alex: 
> Sorry, try again.
> [sudo] password for alex: 
> sudo: 3 incorrect password attempts
> 
> When also mounting my /etc/sudoers into the container, I get a parsing error 
> from sudo, probably because Ubuntu sudo is slightly different from OpenSUSE 
> sudo ?
> 
> What's the recommended way to do that ?

It just works for me. no sudo password needed

https://ghostbin.com/uXGTF/raw

I started that docker container with

docker run -ti -v  /home/tsdgeos/devel/kde/Android64CraftRoot/:/home/user/CraftRoot kdeorg/android-sdk

Cheers,
  Albert

> 
> Thanks
> Alex
> 
> 
> 
> 






More information about the KDE-Android mailing list