From 38c5d69e9144014ad2b3fd0147ba49e17453cdaf Mon Sep 17 00:00:00 2001 From: liuxu <759587231@qq.com> Date: Fri, 4 Sep 2020 00:58:20 -0700 Subject: [PATCH] docs: remove some nonexist file usage --- docker/build/README.md | 2 +- docker/scripts/README.md | 54 ---------------------------------------- 2 files changed, 1 insertion(+), 55 deletions(-) delete mode 100644 docker/scripts/README.md diff --git a/docker/build/README.md b/docker/build/README.md index e012061e57..b87d89902a 100644 --- a/docker/build/README.md +++ b/docker/build/README.md @@ -3,7 +3,7 @@ ## Introduction As you may already know, Apollo was run inside Docker container, and there are two flavors of Apollo docker images, `CyberRT` (`Cyber` for short) and `Dev` . `Cyber` images were for developers who want to play with the `CyberRT` framework only, while `Dev` images were used to build the whole Apollo project. -Currently, Apollo comes with support for two CPU architectures, namely, `x86_64` and `aarch64`. (Please note that till the time this document was updated, the `dev.aarch64` image was not complete. Hope we can make it ready in the next few months.) +Currently, Apollo comes with support for two CPU architectures, namely, `x86_64` and `aarch64`. (Please note that till the time this document was updated, the `dev-aarch64` image was not complete. Hope we can make it ready in the next few months.) In the next section, I will describe briefly the steps to build these Docker images. diff --git a/docker/scripts/README.md b/docker/scripts/README.md deleted file mode 100644 index aeabdc5e8f..0000000000 --- a/docker/scripts/README.md +++ /dev/null @@ -1,54 +0,0 @@ -# Docker environment - -## Install docker - -Please follow the -[official guide to install the docker-ce](https://docs.docker.com/install/linux/docker-ce/ubuntu). -We also provide a bash script to install docker-ce - -```bash -bash docker/setup_host/install_docker.sh -``` - -Don't forget the -[post-installation steps for Linux](https://docs.docker.com/install/linux/linux-postinstall). - - -## Install nvidia-docker (optional) - -To use the host machine's GPUs, you need to install nvidia docker. - -```bash -bash docker/setup_host/install_nvidia_docker.sh -``` -### Mac support - -We always recommend to run Apollo container on Ubuntu with the same version of -the base image, but in case you want to do code development on a Mac, you can -still try the latest -[Docker-for-Mac](https://docs.docker.com/docker-for-mac/install) - -It runs on a virtual kernel which is similar to using the Docker Toolkit + VirtualBox. -Make sure you understand the [difference](https://docs.docker.com/docker-for-mac/docker-toolbox). - -With Mac, a lot of the Linux bindings are not available, which could cause issues. -So it's basically just an environment for code development, but not for production. - -## Development container - -We provide a development environment where you can build Apollo from code. - -```bash -cd /path/to/apollo -bash docker/scripts/dev_start.sh -bash docker/scripts/dev_into.sh -``` - -The scripts to build the dev-image are also available at docker/build. - -``` -Note: -Within the scripts in this directory, only standard tools that are expected to be available in most Linux distributions should be used (e.g., don't use realpath). -``` - -And then you should be able to see Dreamview at http://localhost:8888. -- GitLab