ChungSub Kim
hello :)
[Unit]
Description=My Service 1
Requires=docker.service
After=docker.service
[Service]
ExecStart=/usr/bin/docker run --name app1 busybox /bin/sh -c "while true; do echo Hello World; sleep 1; done"
[Unit]
Description=My Service 1
Requires=docker.service
After=docker.service
[Service]
ExecStart=/usr/bin/docker run --rm --name app1 busybox /bin/sh -c "while true; do echo Hello World; sleep 1; done"
ExecStop=/usr/bin/docker kill app1
By ChungSub Kim
CoreOS 스터디 자료입니다.