Skip to content

Commit cd2eac1

Browse files
authored
Updating faq (#139)
* updated with instructions for installing docker * added question for configuring proxy settings * installing docker-compose
1 parent 1795e2f commit cd2eac1

File tree

1 file changed

+52
-0
lines changed

1 file changed

+52
-0
lines changed

docs/developer-guide/troubleshooting.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,58 @@ tdnf makecache
9797
::::
9898

9999

100+
::::{dropdown} How do I install docker and install containers?
101+
Packages can be installed on Edge Microvisor Toolkit Developer image with `tdnf`
102+
. Follow these steps to install the container runtime and the docker-cli.
103+
104+
Install Docker (Moby)
105+
106+
```bash
107+
sudo tdnf install -y moby-engine moby-cli containerd
108+
```
109+
Enable and start the Docker service
110+
111+
```bash
112+
sudo systemctl enable docker
113+
sudo systemctl start docker
114+
```
115+
116+
Optionally, add user to the docker group to avoid running as sudo
117+
118+
```bash
119+
sudo usermod -aG docker $USER
120+
newgrp docker
121+
```
122+
123+
Verify installation
124+
125+
```bash
126+
docker version
127+
docker info
128+
docker run hello-world
129+
```
130+
131+
Optionally, install docker compose
132+
133+
```bash
134+
sudo dnf install docker-compose
135+
```
136+
137+
::::
138+
139+
::::{dropdown} How do I configure proxy settings in Edge Microvisor Toolkit?
140+
Most applications will pick up proxy environment variables, so you can export
141+
environment variables for `http_proxy`, `https_proxy`, `HTTP_PROXY`,
142+
`HTTPS_PROXY` and `no_proxy` to your `~/.bash_rc` profile.
143+
144+
If you need to configure system wide proxy settings you can follow these steps:
145+
146+
1. Create a file under `/etc/profile.d/proxy.sh`
147+
1. Export your proxy settings in the `proxy.sh` file
148+
1. Make the file executable `chmod +x /etc/profile.d/proxy.sh`
149+
::::
150+
151+
100152
::::{dropdown} Will my home directory be saved if I perform an update of Edge Microvisor Toolkit?
101153
Yes, the entire `/home` directory is configured as a persistent bind mount and will be kept
102154
across updates. This is true for other key directories as well.

0 commit comments

Comments
 (0)