git | creating a repository from the command line

Be sure you’ve pushed your public key to github.com Create a repository on github.com. $ git init $ git add . $ git commit -m “first move” $ git remote add origin git@github.com:/USER/REPO.git origin is the local alias for your remote repository url. It’s possible to connect your local repo to multiple remote URL’s (hosts) […]

DOCKER| ENTRYPOINT vs. CMD

O.K…. Lets start. ;) Variables passed as arguments to the container using -e will be part of containers environment. ENTRYPOINT script will be executed using this environment. Any CMD will be passed as an argument to the running ENTRYPOINT script. If there is no ENTRYPOINT defined, CMD will be executed instead. In other words: ENTRYPOINT […]