Welcome to the sdflysha/choco Docker image repository. This Docker image provides a Windows Server Core (LTSC 2022) environment with Chocolatey pre-installed, facilitating the setup of a Windows-based container with package management capabilities.
mcr.microsoft.com/windows/servercore:ltsc2022, ensuring compatibility with a wide range of Windows applications.You can pull the pre-built Docker image from Docker Hub using the following command:
docker pull sdflysha/choco
Once you have pulled the image, you can run a container using the following command:
docker run -it sdflysha/choco
This command starts a container and opens an interactive terminal session (-it), where you can begin using the Chocolatey package manager immediately to install software packages.
To install a package, for example git, simply run the following command inside the container:
choco install git -y
If you prefer to build the image yourself, you can clone the repository and build the image using the provided Dockerfile.
Clone the repository:
git clone https://github.com/sdcb/dockerfiles.git
Navigate to the directory containing the Dockerfile:
cd dockerfiles/src/choco
Build the image:
docker build -t your-custom-tag .
The Dockerfile used in this image performs the following steps:
mcr.microsoft.com/windows/servercore:ltsc2022).Contributions to improve the Docker image or documentation are welcome. Feel free to fork the repository and submit pull requests.
This project is made available under the MIT License. For more details, see the LICENSE file in the repository.
mcr.microsoft.com).For more information about the tools used in this image, visit:
Thank you for using or contributing to the sdflysha/choco Docker image. For issues or suggestions, please use the GitHub repository's issue tracker.
Content type
Image
Digest
sha256:82a0fbc73…
Size
2 GB
Last updated
about 2 years ago
docker pull sdflysha/choco