Skip to main content

Docker Container

Docker Container Logs...

These are not steps.
They are commands in random order.
I will create a new blog post explaining what they do. Enjoy!



  • docker rmi <CONTAINERID>
  • docker container rm <IMAGEID>
  • docker run -d -P --name <NAME> <DOCKERIMAGE>
  • docker port <IMAGE ID>
  • docker run -p <PORT>:<PORT> <DOCKERIMAGE>
  • docket stop <IMAGEID>
  • docker rename <CONTAINER> <NEWCONTAINERNAME>
  • docker container prune
  • docker system prune
  • docker container ls -a






  • mkdir <DIR>
  • cd <DIR>
  • git clone <URL>
  • cd <DIR>
  • vi DockerFile





Comments

Popular posts from this blog

Windows 10 - Complete Installation Tutorial

Create Windows 10 installation media Here’s when to use these instructions: You have a license to install Windows 10 and are upgrading this PC from Windows 7 or Windows 8.1. You need to reinstall Windows 10 on a PC you’ve already successfully activated Windows 10. Note : Do not enter Windows Serial Number. Enter Serial number after Windows Installation. Using the tool to create installation media: Download tool now , and select  Run . You need to be an administrator to run this tool. If you agree to the license terms, select  Accept . On the  What do you want to do?  page, select Create  installation media for another PC , and then select  Next . Select the language, edition, and architecture (64-bit or 32-bit) for Windows 10. This table will help you decide which edition of Windows 10 you’ll choose: Your current edition of Windows Windows 10 edition Windows 7 Starter Windows 7 Home Basic Windows 7 Home Premium Windows 7 Profession...

Compile Packages from Source on macOS

Install Homebrew /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" Read Documentation Examples xmrig brew install cmake libuv libmicrohttpd openssl git clone https://github.com/xmrig/xmrig.git mkdir xmrig/build cd xmrig/build cmake .. -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl make xmrig-nvidia brew install cmake libuv libmicrohttpd openssl git clone https://github.com/xmrig/xmrig-nvidia.git mkdir xmrig-nvidia/build cd xmrig-nvidia/build cmake .. -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl make xmrig-nvidia brew install cmake libuv libmicrohttpd openssl git clone https://github.com/xmrig/xmrig-amd.git mkdir xmrig-amd/build cd xmrig-amd/build cmake .. -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl make