On Wed, Aug 30, 2017 at 5:17 AM, Mobilisis | Matija Tuđan < [email protected]> wrote:
> Hello, > > > > I have troubles with integrating Docker into Yocto Morty release. I > downloaded meta-virtualization layer (morty branch), appended it to Yocto > layers, appended docker package to local.conf and built the Yocto image. > > > I know that docker did work in the morty timeframe, I used it extensively myself. > As expected, Docker can be found in /usr/bin/: > > root@imx7-var-som:~# ls -la /usr/bin/docker* > -rwxr-xr-x 1 root root 11658508 Aug 28 23:18 /usr/bin/docker > lrwxrwxrwx 1 root root 10 Aug 29 08:10 /usr/bin/docker-containerd -> > containerd > lrwxrwxrwx 1 root root 14 Aug 29 08:10 > /usr/bin/docker-containerd-ctr -> containerd-ctr > lrwxrwxrwx 1 root root 15 Aug 29 08:10 /usr/bin/docker-containerd-shim > -> containerd-shim > -rwxr-xr-x 1 root root 2380960 Aug 28 23:18 /usr/bin/docker-proxy > lrwxrwxrwx 1 root root 4 Aug 29 08:10 /usr/bin/docker-runc -> runc > -rwxr-xr-x 1 root root 34721124 Aug 28 23:18 /usr/bin/dockerd > root@imx7-var-som:~# > > But, when I try to run docker, I get the following error: > > root@imx7-var-som:~# docker info > -sh: /usr/bin/docker: No such file or directory > > > > This steps worked on other system running Yocto Krogoth release. Is there > any reason why this wouldn't work on Morty release? > Nope. But the issue could be outside of docker itself. The error message you are getting could indicate a build issue (i.e. architecture mismatch or missing interpreter/runtime, etc). What does 'file' report for the docker binary ? It should really be a statically linked go application .. but you never know what could have gone wrong. What is your target board/arch ? Bruce > > > Regards, > > Matija > > > > > > > *Matija Tuđan* > Hardware developer > > > > > > *Mobilisis d.o.o.* > Varaždinska ulica br. 8, II. odvojak > 42000 Varaždin - Jalkovec, Croatia > > > > > > m. > > > > > > +385 99 311 5473 <+385%2099%20311%205473> > > t. > > +385 42 311 777 <+385%2042%20311%20777> > > f. > > +385 42 493 955 <+385%2042%20493%20955> > > w. > > *www.mobilisis.hr <http://www.mobilisis.hr/>* > > > > This mail is from Mobilisis d.o.o. and may contain confidential business > information. It is intended solely for the use of the individual to whom it > is addressed. If you are not the intended recipient, please contact the > sender and delete this message and any attachment from your system. > Unauthorized publication, use, dissemination, forwarding, printing or > copying of this email and it's associated attachments is strictly > prohibited. > > > Please consider the environment before printing this email. Thank you! > > > > > > > > -- > _______________________________________________ > meta-virtualization mailing list > [email protected] > https://lists.yoctoproject.org/listinfo/meta-virtualization > > -- "Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"
-- _______________________________________________ meta-virtualization mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-virtualization
