Hello.
I'm a new FreeBSD user, I'm looking inside the FreeBSD ecosystem for the tools that usually I use in Linux. At the moment I'm trying to install and configure docker and I found this tutorial :
https://linuxhint.com/install-docker-freebsd/
and I've followed up until the end. Everything went good until the last command that gives me an error message :
He says : "Copy-paste this command to the .bashrc/.zshrc file, and you’re all set to use docker on FreeBSD"
Good. In my system I haven't found any .bashrc or .zshrc file. Two files can be a good place where add the command :
1) /home/zioma/.cshrc
and
2) /home/zioma/.xinitrc
Adding
Adding
How can I fix these errors ?
I'm a new FreeBSD user, I'm looking inside the FreeBSD ecosystem for the tools that usually I use in Linux. At the moment I'm trying to install and configure docker and I found this tutorial :
https://linuxhint.com/install-docker-freebsd/
and I've followed up until the end. Everything went good until the last command that gives me an error message :
Code:
Illegal variable name.
# docker images
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
He says : "Copy-paste this command to the .bashrc/.zshrc file, and you’re all set to use docker on FreeBSD"
Code:
eval "$(docker-machine env default)"
Good. In my system I haven't found any .bashrc or .zshrc file. Two files can be a good place where add the command :
1) /home/zioma/.cshrc
and
2) /home/zioma/.xinitrc
Adding
eval "$(docker-machine env default)"
on the first one I get the following error :
Code:
Illegal variable name.
# docker images
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
Adding
eval "$(docker-machine env default)"
on the second one I get the following error :
Code:
# docker images
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
How can I fix these errors ?