Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    有人尝试把Docker的代码拷贝到本地进行编译吗

    V Series
    4
    8
    2711
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      mysteryli LV 7 last edited by

      RT
      我这边把文件都拷贝出来后编译不过
      或者你们修改Docker里面的文件,总不能都用vim吧。。

      A A 2 Replies Last reply Reply Quote Share 0
      • A
        aw2022 LV 4 @mysteryli last edited by

        @mysteryli 我的拷出来能编。 应该是环境的问题

        M 1 Reply Last reply Reply Quote Share 0
        • M
          mysteryli LV 7 @aw2022 last edited by

          @aw2022 在 有人尝试把Docker的代码拷贝到本地进行编译吗 中说:

          @mysteryli 我的拷出来能编。 应该是环境的问题

          你是用docker ps 拷贝出来的嘛 拷贝出来好像只有root权限才能用呀,你的是这样吗

          M A A 3 Replies Last reply Reply Quote Share 0
          • M
            mysteryli LV 7 @mysteryli last edited by

            @mysteryli 在 有人尝试把Docker的代码拷贝到本地进行编译吗 中说:

            @aw2022 在 有人尝试把Docker的代码拷贝到本地进行编译吗 中说:

            @mysteryli 我的拷出来能编。 应该是环境的问题

            你是用docker ps 拷贝出来的嘛 拷贝出来好像只有root权限才能用呀,你的是这样吗

            因为我这边好像docker命令必须sudo才能用起来 不知道为啥 你是这样嘛

            KunYi 1 Reply Last reply Reply Quote Share 0
            • KunYi
              KunYi LV 8 @mysteryli last edited by

              @mysteryli
              check the https://docs.docker.com/engine/install/linux-postinstall/
              for non-root user with docker

              1 Reply Last reply Reply Quote Share 0
              • A
                aw2022 LV 4 @mysteryli last edited by

                @mysteryli sudo docker cp

                1 Reply Last reply Reply Quote Share 0
                • A
                  aimkit LV 2 @mysteryli last edited by

                  @mysteryli -v /host/docker_share:/docker_dir 可以直接文件夹映射的

                  1 Reply Last reply Reply Quote Share 0
                  • A
                    aimkit LV 2 @mysteryli last edited by

                    @mysteryli 可以新建docker 容器时,使用当前用户权限

                    1 Reply Last reply Reply Quote Share 0
                    • 1 / 1
                    • First post
                      Last post

                    Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

                    行为准则 | 用户协议 | 隐私权政策