React native and Docker Quickstart offers basic configuration you can use to create your own React Native Apps within Docker Containers.
There are some specific things you must need to start building your mobile apps.
- VS Code installed in your local machine.
- Install Dev Containers VS Code extension.
- Have Docker installed and running.
In order to run this app in your local enviroment, follow this steps:
- Clone this repo in your computer.
- Open this folder with VS Code and run the option: Rebuild image without cache and reopen in a container
- Wait until the container is finished.
- Enjoy!
By default, the container will open the project using the jorge user. You can change it by modifying the Dockerfile and the script.sh, in order to give sudo permissions.
There are some tasks that you have to run using the sudo command at the beginning of all command lines.
Visit this Github repo where you can find more information regarding with changing the default username on your dev container: https://github.com/Jorge-Ortiz-Mata/node-16-docker-enviroment