클라우드 및 인프라/Docker
Docker) redhat7 - service command not found
작은소행성
2020. 8. 7. 14:40
docker에서 redhat을 다운로드하고
ssh를 하기 위해 service ssh start를 하려고 했다.
service command not found 가 나와서
# yum install initscripts
후 service 명령어를 사용하면 될 것이다.
만약 그래도 service ssh start 가 안된다면
# systemctl start sshd
를 사용하면 된다.
반응형