Linux Useful Software

Docker

Command List

  1. docker pull
  2. docker run
  3. docker images
  4. docker ps
  5. docker rmi
  6. docker rm
  7. docker exec
  8. docker commit
  9. docker export/import
  10. docker save/load
  11. docker build

Commonly Used Commands

  1. docker run
docker run
    --name <container name> -d
    -p <physical port>:<container port>
    -v <physical volume>:<container volume>
    -e <environment variable>=<value>
    <image name>
  1. docker ps -a
  2. docker exec -it <container name> /bin/bash

Dockerfile

  1. FROM
  2. LABEL
  3. USER
  4. RUN
  5. EXPOSE
  6. ENV
  7. ADD/COPY
  8. CMD/ENTRYPOINT

Useful Links

https://www.runoob.com/docker/docker-tutorial.html

Git

Installation

Software name: git
Can be installed by apt or yum

Command List

  1. git config
  2. git init
  3. git clone
  4. git add
  5. git commit
  6. git push
  7. git log
  8. git remote
  9. git branch
  10. git checkout
  11. git merge
  12. git rebase

Useful Links

https://www.runoob.com/git/git-tutorial.html

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注