Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged Dockerfile

0 votes
1.7k views
1 answer
    My docker container requires JAVA_HOME to be set. I have added it to the Dockerfile as below ENV JAVA_HOME ... dynamically from the image itself See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
669 views
1 answer
    Is it possible to expose a range of ports while starting Docker container? a command like so would be very helpful: ... .0.1:8000-9000:8000-9000 See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
456 views
1 answer
    I have a build time Argument with which I would like to build my Docker file; Since that argument is confidential ... way to achieve the same? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    I am trying to build an image from a specific Dockerfile, and tag it at the same time; I am ... following what the documentation says? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
482 views
1 answer
    I have two docker images. One of the docker image (from first container), when ran, generates some files, which ... container. Can I do this? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
592 views
1 answer
    In my docker file, I want to install med2image python package (https://github.com/FNNDSC/med2image). I use the ... 1 What should I do?! See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
546 views
1 answer
    Is it possible to configure Docker to output timing for the build of a Dockerfile? We run a medium sized ... the duration of individual steps. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
642 views
1 answer
    Is it possible to create Dockerfile that executes a command on host when image is being build? Now I'm ... the same directory as Dockerfile. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
840 views
1 answer
    I have a Docker image that I pulled from Docker hub. When I run docker run image_name, container exits ... container. Is it possible? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
614 views
1 answer
    At different places I found the information that a docker image can only consist of up to 42 layers. ... some documentation explaining this? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
611 views
1 answer
    FROM scratch MAINTAINER Aario <[email protected]> ENV SHARED_GROUP docker I build a docker image with above dockerfile. ... on the same time. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
721 views
1 answer
    I am using VS2017 docker support. VS created DockerFile for me and when I build docker-compose file, it creates ... . Any help is appreciated. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
528 views
1 answer
    Using Docker for Mac 1.13.1 with the following Dockerfile: FROM ubuntu:latest MAINTAINER [email protected] ... simbo1905/docker-cron Thanks! See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
674 views
1 answer
    While building a Docker image, how do I COPY a file into the image so that the resulting file is owned by a user other than root? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    I'm hoping to use docker to set up some bioinformatic analysis. I have found two docker images that I would ... the features of the other? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
555 views
1 answer
    I need to share the application logs to mounted volume. I want to mount same volume to all docker containers ... logs:/usr/logs TestImage:latest See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
812 views
1 answer
    I've only seen examples of using COPY to copy files between stages of a multi stage Dockerfile, but is there a ... if there's a cleaner way? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
496 views
1 answer
    I'm trying to set environment variables in docker container during the build but without success. Setting them ... root TEST_ENV is not present See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    In a Dockerfile, I have COPY . . I want to exclude an entire directory, in my case, node_modules directory. ... . Is this possible with Docker? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
554 views
1 answer
    I'm creating an image that has a similar problem like the following docker project: Dockerfile FROM alpine:3.9.3 ... variables wouldn't be set. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
590 views
1 answer
    Can I specify a port range in a Dockerfile EXPOSE 7000-8000 and when running the container bind all these exposed ... -p 7000-8000:7000-8000 See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
671 views
1 answer
    I'm trying to connect a pyodbc python script running in a docker container to login to a MSSQL database I have ... returned a non-zero code: 1 See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.4k views
1 answer
    Docker 1.9 allows to pass arguments to a dockerfile. See link: https://docs.docker.com/engine/reference/builder ... an example too, if possible. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
559 views
1 answer
    I was doing some complex stuff with docker, but as turn out I don't know what -it flag means. ... significant misunderstanding of that point). See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    I'm trying to build a custom tcserver docker image. But I'm having some problems starting the webserver and the ... or if that would even work. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...