Posts in docker
About Docker Build and Compose
by Dan Aukes
- https://docs.docker.com/network/host/
- https://docs.docker.com/get-started/
- https://github.com/docker/awesome-compose/tree/master/wireguard
- ...
Add a User in a Docker Container with a custom password
by Dan Aukes
password="1YelloDog@"
pass=$(perl -e 'print crypt($ARGV[0], "password")' $password)
echo "$pass"
External Resources
- ...
Answer on Docker
by Dan Aukes
replace <password1> with your own password
```yaml version: "3" services: answer: image: answerdev/answer ...
Common Docker Commands
by Dan Aukes
General Commands
docker images
docker pull
docker create
docker ps
docker attach 3378689f2069
Deleting, cleanup
```bash docker run —rm image_name docker system ...
using ssh inside docker
by Dan Aukes
Introduction
This article shows the following:
- How to create a custom user in a dockerfile
- ...