gitlab-runner 컨테이너에서 apache2 컨테이너로 ssh 접속하는 방법을 알아보도록 하겠습니다. apache2 는 docker-compose 로 설치되어 있고 version: "3" services: apache2: build: ./Project/apache2 restart: always container_name: apache2 links: - mysql ports: - "9080:80" - "9022:22" volumes: - ./Project/apache2/html/:/var/www/html/ - ./Project/apache2/conf/httpd.conf/:/usr/local/apache2/conf/httpd.conf networks: - default - apm_net mysql: ..