All of lore.kernel.org
 help / color / mirror / Atom feed
* Yocto Morty doesn't recognize Docker
@ 2017-08-30  9:17 Mobilisis | Matija Tuđan
  2017-08-31 19:26 ` Bruce Ashfield
  0 siblings, 1 reply; 2+ messages in thread
From: Mobilisis | Matija Tuđan @ 2017-08-30  9:17 UTC (permalink / raw)
  To: meta-virtualization


[-- Attachment #1.1: Type: text/plain, Size: 2040 bytes --]

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.



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?


Regards,
Matija



        [cid:image002.png@01D32181.998E8B70]

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

t.

+385 42 311 777

f.

+385 42 493 955

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!





[-- Attachment #1.2: Type: text/html, Size: 15625 bytes --]

[-- Attachment #2: image001.png --]
[-- Type: image/png, Size: 12427 bytes --]

[-- Attachment #3: image002.png --]
[-- Type: image/png, Size: 9381 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Yocto Morty doesn't recognize Docker
  2017-08-30  9:17 Yocto Morty doesn't recognize Docker Mobilisis | Matija Tuđan
@ 2017-08-31 19:26 ` Bruce Ashfield
  0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2017-08-31 19:26 UTC (permalink / raw)
  To: Mobilisis | Matija Tuđan; +Cc: meta-virtualization


[-- Attachment #1.1: Type: text/plain, Size: 3151 bytes --]

On Wed, Aug 30, 2017 at 5:17 AM, Mobilisis | Matija Tuđan <
mtudan@mobilisis.hr> 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
> meta-virtualization@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization
>
>


-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"

[-- Attachment #1.2: Type: text/html, Size: 13772 bytes --]

[-- Attachment #2: image002.png --]
[-- Type: image/png, Size: 9381 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-08-31 19:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-30  9:17 Yocto Morty doesn't recognize Docker Mobilisis | Matija Tuđan
2017-08-31 19:26 ` Bruce Ashfield

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.