V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
shom
V2EX  ›  Docker

docker build 用 patch 问题请教

  •  
  •   shom ·
    shom · 2016-10-13 18:12:58 +08:00 · 3290 次点击
    这是一个创建于 2745 天前的主题,其中的信息可能已经有所发展或是发生改变。
    docker 下 patch 一个补丁提示 patch: **** Can't rename file php-fpm.conf to php-fpm.conf.orig : Invalid argument
    但另一个补丁正常,同样的文件,同样的步骤在实例下正常( docker for mac 下也是正常的),另发现 docker 实例下 mv 也会出错 mv: can't rename '/etc/os-release': Invalid argument

    #docker info
    Containers: 6
    Running: 5
    Paused: 0
    Stopped: 1
    Images: 62
    Server Version: 1.12.2
    Storage Driver: overlay
    Backing Filesystem: extfs
    Logging Driver: json-file
    Cgroup Driver: cgroupfs
    Plugins:
    Volume: local
    Network: null bridge host overlay
    Swarm: inactive
    Runtimes: runc
    Default Runtime: runc
    Security Options: seccomp
    Kernel Version: 3.10.0-327.36.1.el7.x86_64
    Operating System: CentOS Linux 7 (Core)
    OSType: linux
    Architecture: x86_64
    CPUs: 2
    Total Memory: 15.63 GiB
    Name: server-gen8
    Docker Root Dir: /var/lib/docker
    Debug Mode (client): false
    Debug Mode (server): false
    Registry: https://index.docker.io/v1/
    Insecure Registries:
    127.0.0.0/8

    http://ooo.0o0.ooo/2016/10/13/57ff5d4ab9c46.png
    3 条回复    2016-10-13 19:04:43 +08:00
    shom
        1
    shom  
    OP
       2016-10-13 18:14:16 +08:00
    shom
        2
    shom  
    OP
       2016-10-13 18:14:39 +08:00
    yxwzaxns
        3
    yxwzaxns  
       2016-10-13 19:04:43 +08:00
    这样,你进去手动过一遍,看看有没有问题
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2566 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 04:42 · PVG 12:42 · LAX 21:42 · JFK 00:42
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.