Docker was released in March 2013, which was originally written in the GO programming language.
I started coding Docker in January 2019 for an SCC work project, Smart Tile, which was shifted due to an iOS app "Smart Phone ++" upgrade that took higher priority. I picked back up on Docker in September 2020 with version 8.0
I started coding Docker in January 2019 for an SCC work project, Smart Tile, which was shifted due to an iOS app "Smart Phone ++" upgrade that took higher priority. I picked back up on Docker in September 2020 with version 8.0
Platforms available: Windows, Linux, Mac OS
Basic Commands:
docker run
--rm -> delete this container when the process exits
--ti -> Terminal interactive
sleep 5 -> sleep or wait for 5 seconds
-d -> Detach, this detaches the process from the main terminal and runs it in the background.
examples:
docker run --rm --ti <name> sleep 5
docker run -ti <name> bash -c "sleep 3; echo all done"
docker run -ti ubuntu bash -c "sleep 3; echo all done"
--rm -> delete this container when the process exits
--ti -> Terminal interactive
sleep 5 -> sleep or wait for 5 seconds
-d -> Detach, this detaches the process from the main terminal and runs it in the background.
examples:
docker run --rm --ti <name> sleep 5
docker run -ti <name> bash -c "sleep 3; echo all done"
docker run -ti ubuntu bash -c "sleep 3; echo all done"