Is possible to uninstall docker desktop on MacOSX and keep docker docker-engine and VMs working? - macos

I'm using docker for a while and when I installed it I didn't note if the command line and the GUI Docker desktop were installed as two separate things. So I want to uninstall only the docker desktop but keep the command line working on MACOSX 11.
Is that possible? How can I do that?

Related

Cant start docker containers from Docker Desktop in Mac

I've used docker desktop in Linux and Windows without problem, but i recently got a mac, and when i try to start a docker container i have setup via Docker Desktop, the docker container starts, but immediately just changes from "Running" to "exited" status.
This doesnt happen in the other environments i use docker, so any help would be appreciated.
I have been trying to find any kind of logs, but i cant find any.
im using mac os x 11.7.1 (Big Sur)
Docker desktop is the newest version 4.16.2
I have tried so far:
Reinstalling Docker Desktop
verified and ensured the permissions for access to docker are set correctly (access to files and folders)
I have setup my dockerhub account
Im using the latests versions of the php and python images available at docker hub.
Thank you.

Docker for windows Vs Docker inside Windows Ubuntu App?

I am trying to know the best way to run Docker in Win 10 machines that dosn't have too many resources.
I am runing Docker using the docker for windows and things run quite good but I wonder if it will be better specialy about symlinks issues and resources hunger if i run Docker inside the new Ubuntu on Windows. https://www.microsoft.com/es-es/p/ubuntu/9nblggh4msv6?activetab=pivot:overviewtab
When you try to install Docker in Ubuntu for Win a message shows advising to use Docker for Windows instead.
Any thoughts out there ?

Docker Desktop installation on windows 7 is not working

I've downloaded docker desktop from the website but was unable to open the installer.
My operating system is windows 7.
What are the steps required to install docker desktop on windows 7?
Docker Desktop is not supported on windows 7, you can use Docker toolbox instead.
Do following steps:
Install hyper-v
Install Docker Toolbox and try to follow link instructions
Run Docker Quickstart as admin.
After following above steps, you may not be able to run Docker Quickstart Terminal properly. If so, follow below steps:
Go to window's Start.
type: Environment
click: Edit the system environment variables
Make sure you have VBOX_INSTALL_PATH (should point to VirtualBox installation folder. i.e. C:\Program Files\Oracle\VirtualBox)
Make sure you have VBOX_MSI_INSTALL_PATH (should point to VirtualBox installation folder. i.e. *C:\Program Files\Oracle\VirtualBox*)
Make sure you have VBOX_USER_HOME (e.g. C:\Users\Sara.VirtualBox)
Make sure you have DOCKER_TOOLBOX_INSTALL_PATH in your User variables (i.e. C:\Program Files\Docker Toolbox)
Restart your computer.
Try Running Kitematic. If its not working and you are receiving an error about "default" already existing or config.json missing, do the following:
close Docker Quickstart Terminal if open.
open task manager -> processes.
End process VBoxHeadless.exe
add an empty config.json file manually in %userprofile%.docker\machine\machines\default if config.json is missing.
Run in CMD: docker-machine rm -f default
Run in CMD: docker-machine create -d virtualbox --virtualbox-memory 2048 default
If the above CMD commands failed:
delete folder %userprofile%.docker\machine\machines\default manually
restart computer
run Docker Quickstart Terminal as admin
folder %userprofile%.docker\machine\machines\default should have been created properly at this point.
open kitematic. UI should be presented properly
Problem with "default" project
Failure on "default"
As far as I know, Docker desktop require Windows 10.
https://docs.docker.com/docker-for-windows/install/
System Requirements
Windows 10 64-bit: Pro, Enterprise, or Education (Build 15063 or later).
You will need Win10 pro to install Docker on PC, but otherwise you can still install Docker on PC by downloading Docker Toolbox for Win7,8,10. Link to download Docker Toolbox at:
https://www.softpedia.com /get/Programming/Other-Programming-Files/Docker-Toolbox.shtml

Use docker client without HyperV

My laptop came with Windows 10 Home, which does not have the HyperV feature. I would like to use docker-machine with the virtualbox driver, which should technically be possible without HyperV. But I can't install Docker in the first place because of missing HyperV. Is there a way around that?
Update I found Docker Toolbox! The documentation states that it is a legacy solution though.
you could install the linux subsystem on your windows machine:
https://learn.microsoft.com/en-us/windows/wsl/install-win10
i think this will allow you to install docker, and as long as you have a bash window open, the docker engine will remain active
EDIT: Docker for Windows is now available (without HyperV), this will run in the background and would probably be better

How to initialize and run Docker on windows?

I have Docker installed on Windows 7 platform. However when I try to run boot2docker start, the console gives me:
Failed to get machine 'boot2docker-vm': machine does not exist.
Ok, so I try to initialize the machine: boot2docker init. What now happens is even though I have the ISO image on the same path as docker, it tries to download a new image (and then fails to do so).
I uninstalled both OracleVM and GIT before installing them with boot2docker bundle as advised on Docker forums, but now I don't know how to proceed.
I had the same problem on a Windows 7 64 bit system when I installed the entire boot2docker package. It seems that running the solely 64-bit based boot2docker image from a 32-bit OS image (e.g. created by Virtualbox) does not work.
The solution for me was
to activate Intel Virtualisation Technolologies in my BIOS
(Lenovo X61 for me). Note that the settings can be found either
under CPU or Security.
choose a 64 bit OS version in VirtualBox and boot in with the
image obtained by boot2docker.
In case you're trying to do this now
For Windows 10 64-bit: Pro, Enterprise, or Education (Build 15063 or later), follow the instructions to install Docker Desktop here https://docs.docker.com/docker-for-windows/install/.
If you have Windows systems that do not meet the requirements of Docker Desktop for Windows(in my case Microsoft Windows 10 Home Single Language), you can install Docker Toolbox by following the instructions here https://docs.docker.com/toolbox/toolbox_install_windows/.
boot2docker does not support sharing directories on Windows IIRC. The way I run Docker on windows is:
install VirtualBox
install Vagrant
create a directory (let's say c:\vm\docker)
download this Vagrantfile and save it under c:\vm\docker\Vagrantfile
open a DOS command prompt
go to the directory cd c:\vm\docker
start the VM vagrant up and wait for it to install, start up and get provisionned
connect to the VM vagrant ssh
play with docker docker images, etc
Also you might want a real console instead of using the DOS command prompt:
install Git Bash for Windows
install Console
setup Console to use Git Bash (see this guide)
use Console to run the vagrant up and vagrant ssh commands

Resources