Answer the question
In order to leave comments, you need to log in
Add ssh to docker container?
Hello! I have a docker-compose in which a php container is added.
How do I correctly add the ssh key from my pc to the container so that I can install composer install?
version: "3.7"
services:
php:
container_name: 'php'
image: digitalocean.com/php
build:
context: ./php
dockerfile: Dockerfile
volumes:
- ../:/project
- ./php/supervisor/conf.d:/etc/supervisor/conf.d/:ro
working_dir: /project
networks:
- lemp
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question