V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
shom
V2EX  ›  Docker

docker build 用 patch 问题请教

  •  
  •   shom ·
    shom · Oct 13, 2016 · 3844 views
    This topic created in 3492 days ago, the information mentioned may be changed or developed.
    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 replies    2016-10-13 19:04:43 +08:00
    shom
        1
    shom  
    OP
       Oct 13, 2016
    shom
        2
    shom  
    OP
       Oct 13, 2016
    yxwzaxns
        3
    yxwzaxns  
       Oct 13, 2016
    这样,你进去手动过一遍,看看有没有问题
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   955 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 20:08 · PVG 04:08 · LAX 13:08 · JFK 16:08
    ♥ Do have faith in what you're doing.