Docker
Intro
(Thanks Keith!)
<code> m@matryoshka:~$ cat MDMDockerfile FROM node:current-alpine3.11 RUN curl https://install.meteor.com/ | sh && mkdir -p development && cd development && git clone es-platform && cd /home/m/development/es-platform && meteor npm install && cd /home/m/development/es-config/scripts/node/es && npm install -g COPY docker-entrypoint.sh /usr/local/bin/ ENTRYPOINT ["docker-entrypoint.sh"] CMD [ "es r" ] </code>
Commands
- show containers in a nice format
sudo docker ps -a --format "table Template:.Names\tTemplate:.Status" sudo docker ps -a --format "table Template:.Names\tTemplate:.Status" |grep #mycontainer#