All Questions
11
questions
1
vote
0
answers
1k
views
Docker container won't stay running after end of ssh session
So I am using an Ubuntu linux machine in Oracle Cloud. I have the network setup, the proper ports open. Whenever I am SSH'd into the machine and I explicitly run the container with podman I can access ...
2
votes
1
answer
402
views
How to ssh into freenom domain
I have created a free domain with freenom.com and I am trying to connect to it via ssh [email protected] in a Ubuntu 22.04 VDI. The objective is, once I connect, to launch docker-compose --build. The ...
4
votes
0
answers
1k
views
Accessing Docker's volume using WinSCP
I have 2 Ubuntu 20.04.1 machines with Docker installed.
I would like to access the content of Docker volumes using WinSCP.
i.e. access the path /var/lib/docker/volumes/my_vol_name/_data
which is fully ...
0
votes
1
answer
36
views
can't get ssh running on docker via dockerfile
Here's my Dockerfile:
FROM php:7.4
RUN apt-get install -y openssh-server \
&& useradd --create-home --base-dir /home myuser \
&& echo "myuser:myuser" | chpasswd \
...
1
vote
2
answers
6k
views
can't ssh into docker container
Say I have the following Dockerfile:
FROM php:7.4
RUN apt-get install -y openssh-server \
&& mkdir /var/run/sshd \
&& echo 'root:root' | chpasswd \
&& sed -i 's/...
1
vote
1
answer
2k
views
How to forward GUI from remote docker container to which I connect via SSH?
I have a MacBook that I use as client machine and connect to remote Ubuntu server where I have a running docker container. In docker container I have an application which use opencv that create an ...
3
votes
1
answer
12k
views
Docker container ssh error: ssh_exchange_identification: Connection closed by remote host
I am trying to set up an Ubuntu container with openssh-server so I can ssh into it from the host. I know it's not the standard way of doing it but I really want to have ssh.
This is my Dockerfile
# ...
0
votes
2
answers
335
views
cannot ssh to server as I install poste.io on OVH dedicated server
I want to install poste.io with docker on my server . Poste.io & Docker installed without problem and running fine but when my connection dropped and I try ssh to server again, my connection will ...
2
votes
1
answer
2k
views
Can SSH out, but not in to a docker container: network unreachable
Real docker noob here, trying to get an ubuntu container that can be accessed via SSH.
I'm using an image using this dockerfile and building & running it with "docker build -t sshable ~/PATH/" ...
3
votes
2
answers
7k
views
How to change the ssh host in Vagrantfile
I run vagrant(1.7.2) on Mac OS(10.10.3) with Snappy Ubuntu Core(15.04 stable), for docker, using VirtualBox 4.3.28 as a provider.
It all went well before I configured the "public_network" in ...
2
votes
1
answer
8k
views
Docker login via ssh always asks for password
I a trying to create an Ubuntu image with an "ubuntu" user who can log into the container via ssh without using a password. It asks for a password when I try to log in.
Here's the Dockerfile
FROM ...