Docker Setup:
Download Docker for Windows
docker -> settings -> general -> "expose deamon on tcp://localhost:2375 without TLS"
On WSL:
$sudo apt update -y
$sudo apt upgrade -y
$sudo apt install docker.io
$sudo usermod -aG docker $USER
Add PATH:
check:
echo $PATH | grep /home/$USER
if not exist
add path:
vi ~/.profile
export PATH="$PATH:$HOME/.local/bin"
Setup Docker in WSL
$echo "export DOCKER_HOST=tcp://localhost:2375" >> ~/.bashrc && source ~/.bashrc
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.