sudo docker pull wnameless/oracle-xe-11g
Pulling repository wnameless/oracle-xe-11g
f8d224b82290: Error pulling image (latest) from wnameless/oracle-xe-11g,Untar exit status 1 exec: "xz": executable file not found in $PATH found in $PATH ror downloading dependent layers
2014/11/28 23:08:26 Error pulling image (latest) from wnameless/oracle-xe-11g,Untar exit status 1 exec: "xz": executable file not found in $PATH
奇怪,但是Ubuntu映像工作正常
sudo docker run -i -t ubuntu
系统版本:
Linux Mint 17 Qiana
内核版本3.13.0
最佳答案
Issue 9327是在1.3.2中引入的,应该在1.4.0中进行修复,因此1.3.1应该没问题(除了缺少导致此回归的安全修复程序之外).如果您在1.3.2中使用mkimage.sh创建图像,则下一个修复程序将有所帮助:
原文链接:https://www.f2er.com/docker/532547.html$> git diff
diff --git a/contrib/mkimage.sh b/contrib/mkimage.sh
index cd2fa74..fda16ab 100755
--- a/contrib/mkimage.sh
+++ b/contrib/mkimage.sh
@@ -71,7 +71,7 @@ nameserver 8.8.8.8
nameserver 8.8.4.4
EOF
-tarFile="$dir/rootfs.tar.xz"
+tarFile="$dir/rootfs.tar.bz2"
touch "$tarFile"
(
@@ -82,7 +82,7 @@ touch "$tarFile"
echo >&2 "+ cat > '$dir/Dockerfile'"
cat > "$dir/Dockerfile" <<'EOF'
FROM scratch
-ADD rootfs.tar.xz /
+ADD rootfs.tar.bz2 /
EOF
# if our generated image has a decent shell,let's set a default command