Direct connection to a docker container with SSH | by Łukasz Pawłowski | codeburst

PHOTO EMBED

Wed Oct 06 2021 01:55:33 GMT+0000 (Coordinated Universal Time)

Saved by @gitround

FROM php:7.3-apache
RUN apt-get -y update && \
    apt-get -y — no-install-recommends install — fix-missing openssh-server && \
    rm -rf /var/lib/apt/lists/*
content_copyCOPY

https://codeburst.io/direct-connection-to-a-docker-container-with-ssh-56e1d2744ee5