docker run -d -p 8100:8100 --env APP_ENV_HOST=http://micro1 --name=micro2 --link micro1 dockerhubimage/micro2:latest
docker network create micro-network
docker run -d -p 8000:8000 --name=micro1 --network=micro-network dockerhubimage/micro2:latest
When you use Action:Filter you are removing data from analysis before it is illustrated on the | |
visualisation, when you use Action:Highlight first all of the data is visualised, and only after that | |
the action is applied. This can lead to discrepancies in results. | |
Dashboard - Action Filters works at data level, Action highlight works for the whole dataset |
docker run -d -p 8100:8100 --env APP_ENV_HOST=http://micro1 --name=micro2 --link micro1 dockerhubimage/micro2:latest
docker network create micro-network
docker run -d -p 8000:8000 --name=micro1 --network=micro-network dockerhubimage/micro2:latest
> You cannot remove a docker image if there is one or more container associated with it | |
> You cannot remove a container if it is up and running (need to stop and remove) |
{ | |
"containerDefinitions": [ | |
{ | |
"command": [ | |
"/bin/sh -c \"echo '<html> <head> <title>Amazon ECS Sample App</title> <style>body {margin-top: 40px; background-color: #333;} </style> </head><body> <div style=color:white;text-align:center> <h1>Amazon ECS Sample App</h1> <h2>Congratulations!</h2> <p>Your application is now running on a container in Amazon ECS.</p> </div></body></html>' > /usr/local/apache2/htdocs/index.html && httpd-foreground\"" | |
], | |
"entryPoint": [ | |
"sh", | |
"-c" | |
], |
{ | |
"containerDefinitions": [ | |
{ | |
"name": "simple-app", | |
"image": "httpd:2.4", | |
"cpu": 10, | |
"memory": 300, | |
"portMappings": [ | |
{ | |
"hostPort": 80, |
FROM node:10 | |
WORKDIR /usr/src/app | |
RUN npm install | |
COPY package*.json ./ | |
EXPOSE 8080 | |
CMD [ "node", "server.js" ] |