Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I run Xcode in a docker container?

Tags:

docker

xcode

Can I run Xcode in a docker container? I'd like to dockerise an Xcode CI system, just wondering if this is possible.

like image 483
Chris Avatar asked Feb 18 '15 02:02

Chris


People also ask

Can I use Docker for Iphone development?

Docker for iOS DevelopmentBuild and ship iOS apps with standard docker client. Just drop a Dockerfile into an XCode project and build+distribute using docker containers.

Can macOS run in a Docker container?

Docker Desktop currently supports macOS Catalina, macOS Big Sur, and macOS Monterey. At least 4 GB of RAM. VirtualBox prior to version 4.3. 30 must not be installed as it is not compatible with Docker Desktop.

Can I run any application in a container?

You can run the application through a container regardless of the operating system and the software inside your computer. Therefore, you can focus on developing your applications and deploy them straightly.

Can I run Visual Studio in a Docker container?

The Visual Studio Code Dev Containers extension lets you use a Docker container as a full-featured development environment. It allows you to open any folder inside (or mounted into) a container and take advantage of Visual Studio Code's full feature set.


1 Answers

This answer is now likely to be out of date as it was written in 2015. It may still be useful as reference to reproduce the same

--

This repo from Docker Hackathon 2015 describes how to build and run iOS apps with the docker client. Is that what you're after?

Watch the video:

  • https://www.youtube.com/watch?v=CGHOH9Ocl1k

Secret sauce is in server.js that implements a REST API to simulate a docker server. So in fact it's not actually running iOS in a real Linux docker server - rather it implements the docker API and then acts as a proxy to ios-sim (run) and XCode (build).

like image 178
Tony O'Hagan Avatar answered Oct 12 '22 00:10

Tony O'Hagan