sudo docker import - busyboxplus:just-right < rootfs.tar
/ # cd opt
/opt # mkdir ci
/opt # cd ci
/opt/ci # git init
Initialized empty Git repository in /opt/ci/.git/
/opt/ci # git clone git://github.com/EllisLab/CodeIgniter.git
Cloning into 'CodeIgniter'...
remote: Counting objects: 58707, done.
remote: Compressing objects: 100% (11806/11806), done.
remote: Total 58707 (delta 46796), reused 58686 (delta 46785)
Receiving objects: 100% (58707/58707), 34.11 MiB | 539.00 KiB/s, done.
fatal: serious inflate inconsistency
fatal: index-pack failed
sudo docker run -i -t --rm -h ubuntu --name u1 ubuntu bash
root@ubuntu:/# cd opt
root@ubuntu:/opt# mkdir ci
root@ubuntu:/opt# cd ci
root@ubuntu:/opt/ci# git init
bash: git: command not found
root@ubuntu:/opt/ci# apt-get update
[...]
root@ubuntu:/opt/ci# apt-get install -y git
[...]
root@ubuntu:/opt/ci# git init
Initialized empty Git repository in /opt/ci/.git/
root@ubuntu:/opt/ci# git clone git://github.com/EllisLab/CodeIgniter.git
Cloning into 'CodeIgniter'...
remote: Counting objects: 58707, done.
remote: Compressing objects: 100% (11806/11806), done.
remote: Total 58707 (delta 46796), reused 58686 (delta 46785)
Receiving objects: 100% (58707/58707), 34.11 MiB | 553 KiB/s, done.
Resolving deltas: 100% (46796/46796), done.