-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add docker to user group & delete unnecessary lines #133
Conversation
@@ -43,7 +43,8 @@ Docker CEをインストールします。 | |||
|
|||
```bash | |||
$ sudo apt install -y docker-ce | |||
$ sudo docker container run --rm hello-world | |||
$ sudo usermod -aG docker <username> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ユーザーグループにdockerを加える
$ SK=`cat /dev/urandom | base64 | fold -w 64 | head -n 1`; sed -i -e 's@SECRET_KEY = ""@SECRET_KEY = "'$SK'"@g' ~/osect_sensor/Application/edge_tcpdump/sc_tcpdump/settings.py | ||
(何も表示されません。) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
edge_tcpdumpの行を削除
$ /usr/local/bin/docker-compose build | ||
$ /usr/local/bin/docker-compose up -d |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sudo不要でビルドできるように変更
close #131
テストした結果:
通りました