Docker set up and back end - windows

I'm new with Docker and I'm trying to set up my environment. Can I do that on my Mac (for the back-end of an app) while for the front-end I use my Windows pc (Flutter). I just don't want to install Docker on Windows as I have been reading it is a bit of a nightmare. So basically Windows for front-end and Mac for back-end with Dockers.
Many thanks for your help.

Yes, both of your computers should be in same network and they have an access to each other.

Related

Can one create an MIQ Dev Appliance in Linux or Windows environment?

This README file provides a link to instructions on how to create the ManageIQ Appliance dev setup for a MAC OSX environment, but it says that Linux instructions are TBD. See Screenshot:
Are we truly limited to MAC OS for development? Are there no instructions out there for setting up in a Linux or Windows environment?
Thank you!
Can one create an MIQ Dev Appliance in Linux or Windows environment?
You can find the detailed guide here for different Linux distros.
Are we truly limited to MAC OS for development?
The main limitation is that Podman client On MacOS doesn't work properly. Since podman a tool for running Linux containers, you gonna need some remote linux machine running, in order to install the remote client and then setup ssh connection information in the podman-remote.conf file. (here)

Does digitalocean provide admin panel like Plesk to manage Windows VPS?

I have Windows VPS with a local hosting provider. Right now I have four .Net applications hosted on this VPS. I want to migrate my all applications to digitalocean.com. As I know Digitalocean provides VPS and they name it droplets.
In their documents, they say we provide unmanaged VPS which means I have to take care of software installation)(s).
Before starting this migration I have these questions in my mind.
Does it provide an admin panel like Plesk to manage Windows droplet?
Can I manage to deploy multiple sites on single droplet through an admin panel?
Does it include Windows server license in their package or I have to
pay separately to create a Windows VPS? I am not even sure if they
provide Windows server ready or I have to install Windows Server OS too
..... :)
Answers to these questions will be really helpful. Thanks.
As far as I know, currently, DigitalOcean only supports Linux and Linux-based OS's. You can try to use something like https://steemit.com/tech/#hursh/tutorials-how-to-install-windows-on-digital-ocean but it is not confirmed feature.

Docker native Windows support?

I have a hard time finding information about this. Somewhere I've seen news that Docker has now natively been integrated to Windows. So apparently this means they are not "Linux container" but some kind of "Windows containers"? Does anyone have more information on this?
There has been a significant update thanks to many Docker acquisitions, such as Unikernel. Now it is possible to install beta (as of April '16) of Windows program running Docker without any hassle.
Faster and more reliable: no more VirtualBox! The Docker engine is running in an Alpine Linux distribution on top of an xhyve Virtual Machine on Mac OS X or on a Hyper-V VM on Windows, and that VM is managed by the Docker application.
UPDATE (September '17)
Full native support available here.
An integrated, easy-to-deploy development environment for building, debugging and testing Docker apps on a Windows PC. Docker for Windows is a native Windows app deeply integrated with Hyper-V virtualization, networking and file system, making it the fastest and most reliable Docker environment for Windows.
Microsoft has added containerization primitives to the Windows kernel and are helping porting Docker Engine to Windows. That means you can run native Windows containers with Docker on Windows Server 2016. It's been in tech preview for a while and is free to try. Details here: https://msdn.microsoft.com/en-us/virtualization/windowscontainers/quick_start/manage_docker?f=255&MSPPError=-2147217396
I have read this:
https://azure.microsoft.com/blog/2015/04/16/docker-client-for-windows-is-now-available/
As you can read there is only interface to manage docker containers inside Linux so far.
Currently (October 2016) there're a mess here.
Windows Server 2016 and Windows 10 build 1607 (Anniversary Update) support Docker containers natively. Obviously only with Windows as base images. Moreover only with Windows Server 2016 (Nano or Core).
But there's also Docker for Windows - which is the only suggested option on https://www.docker.com/products/docker#/windows. It's easily can be thought that that Docker is the one which runs natively on Windows. But it isn't!
Docker for Windows uses a VM with Linux to host all containers. So you can't pull Windows images.
So a try to pull an image will fail with "unknown blog" error:
C:\>docker pull microsoft/nanoserver
Using default tag: latest
latest: Pulling from microsoft/nanoserver
5496abde368a: Retrying in 1 second
94b4ce7ac4c7: Downloading
unknown blob
So Docker for Windows can be used only for Linux images!
How f... it's obvious, right?
For "real native Docker" (to run Windows container) we currently have download and install it manually as described in this manual - https://msdn.microsoft.com/virtualization/windowscontainers/quick_start/quick_start_windows_10

Docker: Setting up a GUI in a Docker Container on a Raspberry Pi

I've been playing around with Docker in the past few weeks and currently I'm trying to set up a project.
I'm running a Raspberry Pi with Docker installed. I want to set up a container and use RDP to connect to a remote host.
I have tried working with Xorg (LXDE) and tried starting my graphical environment with startx but that doesn't seem to work. After some googling I found out that you cannot run startx on a virtualized device since startx will look after the graphics card and a virtual machine does not have that.
In order for my RDP to work I need a GUI that runs in a Docker container and uses the ARM architecture.
Has anyone else had any experience with this?
All help is appreciated!
Thanks
Vincentvo
Adding --privileged to my docker run command fixed my issue.
Just curious, but are you 100% tied to RDP? If you use VNC, you could just use the ubuntu ARM distro and then VNC into it. IF you are using a windows machine, superVNC should work for you.
There are even VNC clients for android. Come to think of it, you might be able to use Chrome RDP as well, havent tried that though.

I have a windows pc, can I develop with LAMP?

I have a pc running windows but I want to use a linux server. Is there a way for me to develop my website on my computer before I rent space on a server? Also its probably important to note that I have no linux experience. Should I just stick with wamp?
Unless you specifically and purposely use .NET features in your PHP Application, then an application developed in WAMP will work fine on a LAMP Server as long as you have included all the same PHP plugins.
PHP is independent from Linux or Windows. 99.9% of the time you have to knowingly use features from the host OS.
You should try ubuntu in a virtualbox, there are lots of well written guides that'll get you up and running.
For best performance, use coLinux. Install a linux distro like ubuntu (easier for beginners) and you should be ok.
Yes. I have developed and maintained a website like this before. My development environment was WAMP and the server was a LAMP shared server. Shouldn't be a problem till your site is using fairly basic libraries and they are available both for windows/linux.
However as others mentioned, its wiser to have the development environment as close possible to the production environment. You don't hit any surprises that way. And hey its not difficult and involves no cost:
You can use dual boot to have linux as other operating system.
Depending on your machine, you can just install VirtualBox and install a Linux VM.

Resources