Hi all,
I pulled below docker images on my Ubuntu server 16.04:
test@ubuntu:/etc/systemd/system$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
openstf/stf latest a5e85e901417 2 days ago 751.8 MB
rethinkdb latest e30940c8232c 5 days ago 183.9 MB
nginx latest 4efb2fcdb1ab 12 days ago 183.4 MB
sorccu/adb latest d6e99adff7e2 5 weeks ago 25.88 MB
openstf/ambassador latest b1f0eb8297cf 12 months ago 6.46 MB
Then I tried to start each .service to make sure it can be started successfully.
I started nginx.service successfully by "sudo systemctl start nginx.service", and I saw it's running by cmd "docker ps -a":
test@ubuntu:/etc/systemd/system$ docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
1b7abcbf9268 nginx:latest "nginx" 19 minutes ago Up 19 minutes nginx
But when I tried to start adbd.service, it showed in "docker ps -a" for a few seconds, then disappeared. So does it mean that adbd.service FAILED to start? How to resolve this issue? Please help!!
test@ubuntu:/etc/systemd/system$ sudo systemctl start adbd.service
test@ubuntu:/etc/systemd/system$
test@ubuntu:/etc/systemd/system$ docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
c493d061a1d0 sorccu/adb:latest "/sbin/tini -- adb -a" Less than a second ago Up Less than a second adbd
1b7abcbf9268 nginx:latest "nginx" 22 minutes ago Up 22 minutes nginx
test@ubuntu:/etc/systemd/system$
test@ubuntu:/etc/systemd/system$ docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
1b7abcbf9268 nginx:latest "nginx" 22 minutes ago Up 22 minutes nginx
Thanks,
Alfred