service command not found

    Docker) redhat7 - service command not found

    docker에서 redhat을 다운로드하고 ssh를 하기 위해 service ssh start를 하려고 했다. service command not found 가 나와서 # yum install initscripts 후 service 명령어를 사용하면 될 것이다. 만약 그래도 service ssh start 가 안된다면 # systemctl start sshd 를 사용하면 된다.