How do I install open-ssh client and server in an image of type debian:stretch inside a container?Using SSH keys inside docker containerFrom inside of a Docker container, how do I connect to the localhost of the machine?How to upgrade docker container after its image changedCould not install mysql-server inside docker containerCan't clone public repo from within DockerfileInstalling seaborn on Docker AlpineDockerfile golang buildgit install fails in DockerfileUnable to install packages from private git repository inside docker containerFailed to compile tensorflow serving with MKL using Docker
What are these funnel-looking green things in my yard?
Safest way to store environment variable value in a file
Why isn’t SHA-3 in wider use?
Can "être sur" mean "to be about" ?
A continuous water "planet" ring around a star
What is my malfunctioning AI harvesting from humans?
Do beef farmed pastures net remove carbon emissions?
Why does the standard fingering / strumming for a D maj chord leave out the 5th string?
Random Double Arc Endpoint Angles
Specific: effect of rm -r /./*
how do companies get money from being listed publicly
The cat ate your input again!
When does Tiana, Ship's Caretaker check card type?
Can anyone tell me what this says
How to take the beginning and end parts of a list with simpler syntax?
How to remove ambiguity: "... lives in the city of H, the capital of the province of NS, WHERE the unemployment rate is ..."?
Why command hierarchy, if the chain of command is standing next to each other?
Took GRE two times, same scores with minor differences - worth sending both?
Is this n-speak?
When were the tantalum capacitors first used in computing?
Why aren't rainbows blurred-out into nothing after they are produced?
Loading military units into ships optimally, using backtracking
If clocks themselves are based on light signals, wouldn't we expect the measured speed of light to always be the same constant?
AsyncDictionary - Can you break thread safety?
How do I install open-ssh client and server in an image of type debian:stretch inside a container?
Using SSH keys inside docker containerFrom inside of a Docker container, how do I connect to the localhost of the machine?How to upgrade docker container after its image changedCould not install mysql-server inside docker containerCan't clone public repo from within DockerfileInstalling seaborn on Docker AlpineDockerfile golang buildgit install fails in DockerfileUnable to install packages from private git repository inside docker containerFailed to compile tensorflow serving with MKL using Docker
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I need to install ssh in order to run the following command:git+ssh://git@github.com/some_org/some_repo#egg=some_egg
This failed with the following error:
Collecting athena from git+ssh://git@github.com/some_org/some_repo-py#egg=some_egg (from -r /requirements/athena.txt (line 2))
Cloning ssh://git@github.com/some_org/some_repo to /tmp/pip-build-jx3xzcel/athena
error: cannot run ssh: No such file or directory
fatal: unable to fork
Command "git clone -q ssh://git@github.com/some_org/some_repo /tmp/pip-build-jx3xzcel/athena" failed with error code 128 in None
You are using pip version 9.0.3, however version 19.0.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
The command '/bin/sh -c pip3 install -r /requirements/athena.txt' returned a non-zero code: 1
Makefile:109: recipe for target 'build' failed
It seems that I do not have the ssh installed in the container, hence, trying to install it.
I have already tried with the commands available on various pages to install ssh on Debian, none of them have worked. Those commands include installing openssh-server
and openssh-client
via apt-get
RUN apt-get install -yqq openssh-server
I expect to have ssh installed and this step in the dockerfile to be a successful one but instead, I am getting the following error:
Step 20/38 : RUN apt-get install openssh-server
---> Running in e63d8d044b88
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package openssh-server
The command '/bin/sh -c apt-get install openssh-server' returned a non-zero code: 100
make: *** [dev] Error 100
docker debian
add a comment |
I need to install ssh in order to run the following command:git+ssh://git@github.com/some_org/some_repo#egg=some_egg
This failed with the following error:
Collecting athena from git+ssh://git@github.com/some_org/some_repo-py#egg=some_egg (from -r /requirements/athena.txt (line 2))
Cloning ssh://git@github.com/some_org/some_repo to /tmp/pip-build-jx3xzcel/athena
error: cannot run ssh: No such file or directory
fatal: unable to fork
Command "git clone -q ssh://git@github.com/some_org/some_repo /tmp/pip-build-jx3xzcel/athena" failed with error code 128 in None
You are using pip version 9.0.3, however version 19.0.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
The command '/bin/sh -c pip3 install -r /requirements/athena.txt' returned a non-zero code: 1
Makefile:109: recipe for target 'build' failed
It seems that I do not have the ssh installed in the container, hence, trying to install it.
I have already tried with the commands available on various pages to install ssh on Debian, none of them have worked. Those commands include installing openssh-server
and openssh-client
via apt-get
RUN apt-get install -yqq openssh-server
I expect to have ssh installed and this step in the dockerfile to be a successful one but instead, I am getting the following error:
Step 20/38 : RUN apt-get install openssh-server
---> Running in e63d8d044b88
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package openssh-server
The command '/bin/sh -c apt-get install openssh-server' returned a non-zero code: 100
make: *** [dev] Error 100
docker debian
1
are you doing the apt-get update before running apt-get install? seems like its not able to locate the package either try apt-get update before this or try adding ppa for it
– Arpit Solanki
Mar 27 at 9:41
Can you post your full dockerfile ?
– papey
Mar 27 at 10:34
add a comment |
I need to install ssh in order to run the following command:git+ssh://git@github.com/some_org/some_repo#egg=some_egg
This failed with the following error:
Collecting athena from git+ssh://git@github.com/some_org/some_repo-py#egg=some_egg (from -r /requirements/athena.txt (line 2))
Cloning ssh://git@github.com/some_org/some_repo to /tmp/pip-build-jx3xzcel/athena
error: cannot run ssh: No such file or directory
fatal: unable to fork
Command "git clone -q ssh://git@github.com/some_org/some_repo /tmp/pip-build-jx3xzcel/athena" failed with error code 128 in None
You are using pip version 9.0.3, however version 19.0.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
The command '/bin/sh -c pip3 install -r /requirements/athena.txt' returned a non-zero code: 1
Makefile:109: recipe for target 'build' failed
It seems that I do not have the ssh installed in the container, hence, trying to install it.
I have already tried with the commands available on various pages to install ssh on Debian, none of them have worked. Those commands include installing openssh-server
and openssh-client
via apt-get
RUN apt-get install -yqq openssh-server
I expect to have ssh installed and this step in the dockerfile to be a successful one but instead, I am getting the following error:
Step 20/38 : RUN apt-get install openssh-server
---> Running in e63d8d044b88
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package openssh-server
The command '/bin/sh -c apt-get install openssh-server' returned a non-zero code: 100
make: *** [dev] Error 100
docker debian
I need to install ssh in order to run the following command:git+ssh://git@github.com/some_org/some_repo#egg=some_egg
This failed with the following error:
Collecting athena from git+ssh://git@github.com/some_org/some_repo-py#egg=some_egg (from -r /requirements/athena.txt (line 2))
Cloning ssh://git@github.com/some_org/some_repo to /tmp/pip-build-jx3xzcel/athena
error: cannot run ssh: No such file or directory
fatal: unable to fork
Command "git clone -q ssh://git@github.com/some_org/some_repo /tmp/pip-build-jx3xzcel/athena" failed with error code 128 in None
You are using pip version 9.0.3, however version 19.0.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
The command '/bin/sh -c pip3 install -r /requirements/athena.txt' returned a non-zero code: 1
Makefile:109: recipe for target 'build' failed
It seems that I do not have the ssh installed in the container, hence, trying to install it.
I have already tried with the commands available on various pages to install ssh on Debian, none of them have worked. Those commands include installing openssh-server
and openssh-client
via apt-get
RUN apt-get install -yqq openssh-server
I expect to have ssh installed and this step in the dockerfile to be a successful one but instead, I am getting the following error:
Step 20/38 : RUN apt-get install openssh-server
---> Running in e63d8d044b88
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package openssh-server
The command '/bin/sh -c apt-get install openssh-server' returned a non-zero code: 100
make: *** [dev] Error 100
docker debian
docker debian
asked Mar 27 at 9:29
Aviral SrivastavaAviral Srivastava
41410 bronze badges
41410 bronze badges
1
are you doing the apt-get update before running apt-get install? seems like its not able to locate the package either try apt-get update before this or try adding ppa for it
– Arpit Solanki
Mar 27 at 9:41
Can you post your full dockerfile ?
– papey
Mar 27 at 10:34
add a comment |
1
are you doing the apt-get update before running apt-get install? seems like its not able to locate the package either try apt-get update before this or try adding ppa for it
– Arpit Solanki
Mar 27 at 9:41
Can you post your full dockerfile ?
– papey
Mar 27 at 10:34
1
1
are you doing the apt-get update before running apt-get install? seems like its not able to locate the package either try apt-get update before this or try adding ppa for it
– Arpit Solanki
Mar 27 at 9:41
are you doing the apt-get update before running apt-get install? seems like its not able to locate the package either try apt-get update before this or try adding ppa for it
– Arpit Solanki
Mar 27 at 9:41
Can you post your full dockerfile ?
– papey
Mar 27 at 10:34
Can you post your full dockerfile ?
– papey
Mar 27 at 10:34
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55373784%2fhow-do-i-install-open-ssh-client-and-server-in-an-image-of-type-debianstretch-i%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.
Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55373784%2fhow-do-i-install-open-ssh-client-and-server-in-an-image-of-type-debianstretch-i%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
are you doing the apt-get update before running apt-get install? seems like its not able to locate the package either try apt-get update before this or try adding ppa for it
– Arpit Solanki
Mar 27 at 9:41
Can you post your full dockerfile ?
– papey
Mar 27 at 10:34