Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

airdb/docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

148 Commits

Repository files navigation

Docker Toolbox

learn-docker

A repo for build basic docker images.

You can also learn Linux command with container here

Pre-requirements

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install --cask visual-studio-code
brew install orbstack

OrbStack

Docker-Desktop

Docker compose

For now, we can run docker compose once install the Docker Desktop or OrbStack.

tips: Another good thing is can run docker rootless.

Stack (Recommend)

docker compose -f stack.yml up

docker stack deploy -c stack.yml mysql

Include Common Dockerfile

The INCLUDE+ instruction gets imported by the first line in the Dockerfile. You can read more about the dockerfile-plus at https://github.com/edrevo/dockerfile-plus

Remember that the file path is relative to the build context, not the Dockerfile path.

Dockerfile lint

find . -name Dockerfile | xargs hadolint - --ignore=DL3018 --ignore=DL3027

error code: https://github.com/hadolint/hadolint/wiki/DL3000#use-absolute-workdir

Community Organisations

https://hub.docker.com/u/ubuntu

https://hub.docker.com/u/centos

https://hub.docker.com/u/airdb

About

πŸš€ Airdb's Docker

Resources

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /