Got it!!

Instead of "docker run -it debian /bin/bash", which is for 64bit intel 
processor, we have to "docker run -it armhf/debian /bin/bash" and it 
works!!!
It was a silly mistake and it took time to figure out.

Thanks for all the support till now :)

Regards
Abhishek Gurudutt

On Thursday, 14 January 2016 16:43:16 UTC-8, Abhishek G wrote:
>
> After update and reboot.
>
> "
> root@beaglebone:~# docker version
> Client version: 1.6.2
> Client API version: 1.18
> Go version (client): go1.3.3
> Git commit (client): 7c8fca2
> OS/Arch (client): linux/arm
> Server version: 1.6.2
> Server API version: 1.18
> Go version (server): go1.3.3
> Git commit (server): 7c8fca2
> OS/Arch (server): linux/arm
>
> root@beaglebone:~# docker run -it debian /bin/bash
> FATA[0001] Error response from daemon: Cannot start container 
> 36a21eb81eca27ea2bb14cb8d5bdf08b53a680079c9dfede673257366f4f244e: [8] 
> System error: exec format error
>
> root@beaglebone:~# docker info
> Containers: 1
> Images: 2
> Storage Driver: aufs
>  Root Dir: /var/lib/docker/aufs
>  Backing Filesystem: extfs
>  Dirs: 4
>  Dirperm1 Supported: true
> Execution Driver: native-0.2
> Kernel Version: 4.1.15-ti-r40
> Operating System: Debian GNU/Linux 8 (jessie)
> CPUs: 1
> Total Memory: 488.7 MiB
> Name: beaglebone
> ID: RXXL:IQPN:ONKC:NVDZ:MN7P:RG4V:4AN2:DYBI:INYP:5Q6G:BPHH:5GL3
>
> root@beaglebone:~# docker ps -a
> CONTAINER ID        IMAGE               COMMAND             CREATED       
>       STATUS              PORTS               NAMES
> 36a21eb81eca        debian:latest       "/bin/bash"         14 seconds ago 
>                                              determined_hypatia
>
> root@beaglebone:~# docker restart 36a21eb81eca
> Error response from daemon: Cannot restart container 36a21eb81eca: [8] 
> System error: exec format error
> FATA[0002] Error: failed to restart one or more containers
>
> root@beaglebone:~#
> "
> Still the same error.
>
>
> On Thursday, 14 January 2016 15:24:19 UTC-8, RobertCNelson wrote:
>>
>>
>>
>> On Thu, Jan 14, 2016 at 5:13 PM, Abhishek G <abhi...@gmail.com> wrote:
>>
>>> The problem i faced with the link that you provided which is 
>>> http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Debian_Image_Testing_Snapshots
>>>  
>>> <http://www.google.com/url?q=http%3A%2F%2Felinux.org%2FBeagleboard%3ABeagleBoneBlack_Debian%23Debian_Image_Testing_Snapshots&sa=D&sntz=1&usg=AFQjCNHXIqqAT1GFkcTAYkl-kMSANmGeEA>
>>> and the image bone-debian-8.2-lxqt-4gb-armhf-2016-01-10-4gb.img.xz
>>> is that when i try to "apt-get update" or "apt-get install" i was 
>>> getting an error like,
>>> "
>>> dpkg: error: corrupt info database format file 
>>> '/var/lib/dpkg/info/format' 
>>> E: Sub-process /usr/bin/dpkg returned an error code (2)
>>> "
>>>
>>
>> This sounds like your ran out of space, probally didn't run:
>>
>>
>> http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Expanding_File_System_Partition_On_A_microSD
>>
>>
>>  
>>
>>>
>>>
>>> So I have been using http://beagleboard.org/latest-images
>>> Debian 8.2 (BeagleBone, BeagleBone Black, Seeed BeagleBone Green, Arrow 
>>> BeagleBone Black Industrial - 2GB SD) 2015-11-12 
>>> <http://builds.beagleboard.org/images/master/08132bf0d0cb284d1148c5d329fe3c8e1aaee44d/bone-debian-8.2-tester-2gb-armhf-2015-11-12-2gb.img.xz>
>>>
>>> and the docker info is as follows.
>>>
>>> root@beaglebone:/etc/apt# docker -v
>>> Docker version 1.6.2, build 7c8fca2
>>> root@beaglebone:/etc/apt# docker info
>>> Containers: 1
>>> Images: 2
>>> Storage Driver: devicemapper
>>>  Pool Name: docker-179:2-1659-pool
>>>  Pool Blocksize: 65.54 kB
>>>  Backing Filesystem: extfs
>>>  Data file: /dev/loop0
>>>  Metadata file: /dev/loop1
>>>  Data Space Used: 462.4 MB
>>>  Data Space Total: 107.4 GB
>>>  Data Space Available: 1.972 GB
>>>  Metadata Space Used: 897 kB
>>>  Metadata Space Total: 2.147 GB
>>>  Metadata Space Available: 1.972 GB
>>>  Udev Sync Supported: true
>>>  Data loop file: /var/lib/docker/devicemapper/devicemapper/data
>>>  Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
>>>  Library Version: 1.02.90 (2014-09-01)
>>> Execution Driver: native-0.2
>>> Kernel Version: 4.1.12-ti-r29
>>>
>>
>> That was before i enabled all the recommended docker.io kernel config 
>> options..
>>
>> sudo apt-get update
>> sudo apt-get install linux-image-4.1.15-ti-r40
>> sudo reboot
>>
>> should get you going..
>>
>> Regards,
>>
>> -- 
>> Robert Nelson
>> https://rcn-ee.com/
>>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to