This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker-machine ls | |
docker-machine rm -f <specificNodeName> | |
docker-machine ssh <VMName> | |
# send commands to the docker daemon of the following vm: | |
eval $(docker-machine env <VMName>) | |
# in case some problems appear regarding certificates | |
docker-machine regenerate-certs <machineName> | |
# Open ports of docker-machine |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# send request through proxy | |
curl -i $(docker-machine ip node-1)/demo/hello |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# DOCKER-COMPOSER | |
#installation | |
https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-compose-on-ubuntu-14-04 | |
# https://docs.docker.com/compose/reference/overview/ | |
docker-compose build -f X | |
docker-compose -f app.dockercompose.yaml build | |
# Build and run all services/containers in the docker-compose file. | |
docker-compose up |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://github.com/wsargent/docker-cheat-sheet | |
https://www.docker.com/sites/default/files/Docker_CheatSheet_08.09.2016.pdf | |
# Install docker from script https://docs.docker.com/v1.11/linux/step_one/ | |
curl -sSL https://get.docker.com/ | sudo bash | |
# Environment variables for Windows: and maybe injected into env.var | |
export MSYS_NO_PATHCONV=1 | |
set COMPOSE_CONVERT_WINDOWS_PATHS=1 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt-get -y update && apt-get -y upgrade | |
# current working directory. | |
$(pwd) | |
# process status | |
ps aux | |
# show process of specific running task | |
ps aux | egrep '(apache|httpd)' | |
# restart | |
/sbin/reboot |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# set path to use in command line | |
set PATH=%PATH%;”C:\Program Files\Git\usr\bin" | |
set PATH=%PATH%;”C:\Program Files\Oracle\VirtualBox;" | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Network Google Cloud Firewall rules: | |
tcp:8080 | |
udp:8080 | |
tcp:8081 | |
tcp:8082 | |
tcp:8083 | |
tcp:8084 | |
tcp:8085 | |
tcp:8086 | |
tcp:8087 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "# webapp-radioscanner" >> README.md | |
git init | |
git add README.md | |
git commit -m "first commit" | |
git remote add origin https://github.com/myuseringithub/webapp-radioscanner.git | |
git push -u origin master | |
# keep forked repo up to date | |
https://gist.github.com/CristinaSolana/1885435 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://intense-heat-1283.firebaseio.com/.json?format=export&auth=6f1iIOoYc5pFnZ0vgly5DYYwWWX3BZ5a1KDSCBFK |
OlderNewer